Skip to content

Commit b28c64e

Browse files
committed
Re-export digital error types in embedded-hal-async.
1 parent d90b59b commit b28c64e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

embedded-hal-async/src/digital.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,10 @@
1515
//! .expect("failed to await input pin")
1616
//! }
1717
//! ```
18+
pub use embedded_hal::digital::{Error, ErrorKind, ErrorType};
1819

1920
/// Asynchronously wait for GPIO pin state.
20-
pub trait Wait: embedded_hal::digital::ErrorType {
21+
pub trait Wait: ErrorType {
2122
/// Wait until the pin is high. If it is already high, return immediately.
2223
///
2324
/// # Note for implementers

0 commit comments

Comments
 (0)