Skip to content

Commit a5ad7bf

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

embedded-hal-async/src/digital.rs

+2-1
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)