We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43cc9b9 commit 190dfdcCopy full SHA for 190dfdc
embedded-hal-async/src/digital.rs
@@ -51,8 +51,8 @@ pub trait Wait: embedded_hal::digital::ErrorType {
51
52
/// Wait for the pin to undergo a transition from low to high.
53
///
54
- /// If the pin is already low, this does *not* return immediately, it'll wait for the
55
- /// pin to go high and then low again.
+ /// If the pin is already high, this does *not* return immediately, it'll wait for the
+ /// pin to go low and then high again.
56
fn wait_for_rising_edge<'a>(&'a mut self) -> Self::WaitForRisingEdgeFuture<'a>;
57
58
/// The future returned from `wait_for_falling_edge`.
0 commit comments