Skip to content

Commit

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

### Added

- Added `Display`, `Error` and `PartialEq` implementations for `Error<E>`

### Changed
- [breaking-change] Removed `Default` implementation for `Pca9685` struct.

## [0.3.1] - 2021-07-14

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ extern crate std;
const DEVICE_BASE_ADDRESS: u8 = 0b100_0000;

/// PCA9685 PWM/Servo/LED controller.
#[derive(Debug, Default)]
#[derive(Debug)]
pub struct Pca9685<I2C> {
/// The concrete I²C device implementation.
pub(crate) i2c: I2C,
Expand Down

0 comments on commit 97f654e

Please sign in to comment.