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 f150162 commit 64aa1ffCopy full SHA for 64aa1ff
tests/nucleo-g474.rs
@@ -65,15 +65,13 @@ mod tests {
65
66
pin.set_high();
67
delay.delay(1.millis()); // Give the pin plenty of time to go high
68
- assert!(pin.is_high());
69
{
70
let gpioa = unsafe { &*GPIOA::PTR };
71
assert!(!is_pax_low(gpioa, 8));
72
}
73
74
pin.set_low();
75
delay.delay(1.millis()); // Give the pin plenty of time to go low
76
- assert!(pin.is_low());
77
78
79
assert!(is_pax_low(gpioa, 8));
0 commit comments