Skip to content

Commit 35aa624

Browse files
committed
Fix variable name
1 parent 01f0ce5 commit 35aa624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espflash/src/interface.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub struct Interface {
2929

3030
#[cfg(feature = "raspberry")]
3131
fn write_gpio(gpio: &mut OutputPin, level: bool) {
32-
if pin_state {
32+
if level {
3333
gpio.set_high();
3434
} else {
3535
gpio.set_low();

0 commit comments

Comments
 (0)