Compare commits

...

2 Commits

Author SHA1 Message Date
Paul Bender 42a81f6552
Merge ca25843e85 into e2b576edf3 2025-10-10 12:26:43 +00:00
Paul Bender e2b576edf3 Remove DummyOutputPin.
It hasn't been used since updating to embedded-hal 1.0, and
its causing ci failures.
2025-10-07 10:08:34 +02:00
1 changed files with 0 additions and 15 deletions

View File

@ -57,21 +57,6 @@ impl BitFlags {
pub const WEEKDAY: u8 = 0b0100_0000;
}
pub struct DummyOutputPin;
impl embedded_hal::digital::OutputPin for DummyOutputPin {
fn set_low(&mut self) -> Result<(), Self::Error> {
Ok(())
}
fn set_high(&mut self) -> Result<(), Self::Error> {
Ok(())
}
}
impl embedded_hal::digital::ErrorType for DummyOutputPin {
type Error = embedded_hal::digital::ErrorKind;
}
pub fn new_ds3231(
transactions: &[I2cTrans],
) -> Ds323x<interface::I2cInterface<I2cMock>, ic::DS3231> {