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 @@ -117,21 +117,6 @@ impl hal::blocking::delay::DelayMs<u64> for Delay {
117117}
118118
119119
120- #[ cfg( all( feature = "gpio_sysfs" , feature = "gpio_cdev" ) ) ]
121- /// Re-export of `sysfs_pin::SysfsPin` when both pin types are enabled
122- /// This exists to maintain backwards compatibility with existing users
123- pub type Pin = sysfs_pin:: SysfsPin ;
124-
125- #[ cfg( all( feature = "gpio_sysfs" , not( feature = "gpio_cdev" ) ) ) ]
126- /// Re-export of `sysfs_pin::SysfsPin` pin type when `gpio_sysfs` feature is selected
127- pub type Pin = sysfs_pin:: SysfsPin ;
128-
129- #[ cfg( all( feature = "gpio_cdev" , not( feature = "gpio_sysfs" ) ) ) ]
130- /// Re-export of `cdev_pin::CdevPin` pin type when `gpio_cdev` feature is selected
131- pub type Pin = cdev_pin:: CdevPin ;
132-
133-
134-
135120/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
136121///
137122/// [`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