File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Expand file tree Collapse file tree 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/).
77
88## [ Unreleased]
99
10+ ### Changed
11+
12+ - Set default features to build both sysfs and cdev pin types
13+ - Removed ` Pin ` export, use ` CdevPin ` or ` SysfsPin `
14+
1015## [ v0.3.0] - 2019-11-25
1116
1217### Added
Original file line number Diff line number Diff line change @@ -115,21 +115,6 @@ impl hal::blocking::delay::DelayMs<u64> for Delay {
115115}
116116
117117
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-
133118/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
134119///
135120/// [`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