Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Sep 16, 2022
1 parent 01f0ce5 commit 35aa624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espflash/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub struct Interface {

#[cfg(feature = "raspberry")]
fn write_gpio(gpio: &mut OutputPin, level: bool) {
if pin_state {
if level {
gpio.set_high();
} else {
gpio.set_low();
Expand Down

0 comments on commit 35aa624

Please sign in to comment.