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 @@ -117,21 +117,6 @@ impl hal::blocking::delay::DelayMs<u64> for Delay {
117
117
}
118
118
119
119
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
-
135
120
/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
136
121
///
137
122
/// [`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