Remove unused pin from null driver

This commit is contained in:
Tobias Reisinger 2024-12-25 01:53:21 +01:00
parent 5ee542b44b
commit ea222793ca
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 4 additions and 6 deletions

View file

@ -1,13 +1,11 @@
use crate::drivers::RelayDriver;
use crate::errors::EmgauwaControllerError;
pub struct NullDriver {
pub pin: u8,
}
pub struct NullDriver {}
impl NullDriver {
pub fn new(pin: u8) -> Self {
Self { pin }
pub fn new() -> Self {
Self {}
}
}