mirror of https://github.com/eldruin/ds323x-rs
Compare commits
3 Commits
42a81f6552
...
fb1b215c8f
| Author | SHA1 | Date |
|---|---|---|
|
|
fb1b215c8f | |
|
|
f21e609705 | |
|
|
e2b576edf3 |
10
CHANGELOG.md
10
CHANGELOG.md
|
|
@ -8,6 +8,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||
<!-- next-header -->
|
||||
## [Unreleased] - ReleaseDate
|
||||
|
||||
### Added
|
||||
|
||||
- Added defmt support behind a feature flag.
|
||||
|
||||
### Changed
|
||||
|
||||
- Updated `rtcc` to version 0.4.0 because it has defmt support.
|
||||
|
||||
## [0.6.0] - 2025-01-02
|
||||
|
||||
### Changed
|
||||
|
|
@ -99,4 +107,4 @@ this CHANGELOG.
|
|||
[0.3.2]: https://github.com/eldruin/ds323x-rs/compare/v0.3.1...v0.3.2
|
||||
[0.3.1]: https://github.com/eldruin/ds323x-rs/compare/v0.3.0...v0.3.1
|
||||
[0.3.0]: https://github.com/eldruin/ds323x-rs/compare/v0.2.0...v0.3.0
|
||||
[0.2.0]: https://github.com/eldruin/ds323x-rs/compare/v0.1.0...v0.2.0
|
||||
[0.2.0]: https://github.com/eldruin/ds323x-rs/compare/v0.1.0...v0.2.0
|
||||
|
|
|
|||
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Reference in New Issue