Skip to content

Commit

Permalink
Remove Default implementation for Ad989x
Browse files Browse the repository at this point in the history
  • Loading branch information
eldruin committed Sep 13, 2021
1 parent 9a66a1c commit ffa50d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

...
### Changed
- [breaking-change] Remove `Default` implementation for `Ad989x`.

## [0.2.0] - 2019-11-10

Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ pub const MODE: Mode = MODE_2;

/// SPI interface
#[doc(hidden)]
#[derive(Debug, Default)]
#[derive(Debug)]
pub struct SpiInterface<SPI, CS> {
pub(crate) spi: SPI,
pub(crate) cs: CS,
Expand Down Expand Up @@ -300,7 +300,7 @@ struct Config {
}

/// AD983x direct digital synthesizer
#[derive(Debug, Default)]
#[derive(Debug)]
pub struct Ad983x<DI, IC> {
iface: DI,
control: Config,
Expand Down

0 comments on commit ffa50d0

Please sign in to comment.