File tree 2 files changed +5
-15
lines changed
2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7
7
8
8
## [ Unreleased]
9
9
10
+ ### Changed
11
+
12
+ - Set default features to build both sysfs and cdev pin types
13
+ - Removed ` Pin ` export, use ` CdevPin ` or ` SysfsPin `
14
+
10
15
## [ v0.3.0] - 2019-11-25
11
16
12
17
### Added
Original file line number Diff line number Diff line change @@ -115,21 +115,6 @@ impl hal::blocking::delay::DelayMs<u64> for Delay {
115
115
}
116
116
117
117
118
- #[ cfg( all( feature = "gpio_sysfs" , feature = "gpio_cdev" ) ) ]
119
- /// Re-export of `sysfs_pin::SysfsPin` when both pin types are enabled
120
- /// This exists to maintain backwards compatibility with existing users
121
- pub type Pin = sysfs_pin:: SysfsPin ;
122
-
123
- #[ cfg( all( feature = "gpio_sysfs" , not( feature = "gpio_cdev" ) ) ) ]
124
- /// Re-export of `sysfs_pin::SysfsPin` pin type when `gpio_sysfs` feature is selected
125
- pub type Pin = sysfs_pin:: SysfsPin ;
126
-
127
- #[ cfg( all( feature = "gpio_cdev" , not( feature = "gpio_sysfs" ) ) ) ]
128
- /// Re-export of `cdev_pin::CdevPin` pin type when `gpio_cdev` feature is selected
129
- pub type Pin = cdev_pin:: CdevPin ;
130
-
131
-
132
-
133
118
/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
134
119
///
135
120
/// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.3.1/i2cdev/linux/struct.LinuxI2CDevice.html
You can’t perform that action at this time.
0 commit comments