Skip to content

Commit 5480782

Browse files
committed
Readd Pin export
1 parent 72af109 commit 5480782

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ pub use cdev_pin::CdevPin;
5858
/// Sysfs pin re-export
5959
pub use sysfs_pin::SysfsPin;
6060

61+
#[cfg(feature = "gpio_sysfs")]
62+
pub use sysfs_pin::SysfsPin as Pin;
63+
6164
/// Empty struct that provides delay functionality on top of `thread::sleep`
6265
pub struct Delay;
6366

0 commit comments

Comments
 (0)