We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01f0ce5 commit 35aa624Copy full SHA for 35aa624
espflash/src/interface.rs
@@ -29,7 +29,7 @@ pub struct Interface {
29
30
#[cfg(feature = "raspberry")]
31
fn write_gpio(gpio: &mut OutputPin, level: bool) {
32
- if pin_state {
+ if level {
33
gpio.set_high();
34
} else {
35
gpio.set_low();
0 commit comments