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 e42c430 commit 36557b4Copy full SHA for 36557b4
testsuite/tests/gpio_input_puller.rs
@@ -54,6 +54,7 @@ mod tests {
54
state
55
.puller
56
.set_internal_resistor(&mut state.pupdr, Resistor::PullDown);
57
+ cortex_m::asm::delay(10);
58
assert!(unwrap!(state.puller.is_low()));
59
assert!(unwrap!(state.observer.is_low()));
60
}
@@ -63,6 +64,7 @@ mod tests {
63
64
65
66
.set_internal_resistor(&mut state.pupdr, Resistor::PullUp);
67
68
assert!(unwrap!(state.puller.is_high()));
69
assert!(unwrap!(state.observer.is_high()));
70
0 commit comments