Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 24, 2024
1 parent 4a8ab45 commit 160564e
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions esp-hal/src/gpio/placeholder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,9 @@ impl Level {
unsafe { GPIO::steal() }
.func_in_sel_cfg(signal as usize - FUNC_IN_SEL_OFFSET)
.modify(|_, w| unsafe {
w.sel()
.set_bit()
.in_inv_sel()
.bit(false)
.in_sel()
.bits(value)
w.sel().set_bit();
w.in_inv_sel().bit(false);
w.in_sel().bits(value)
});
}

Expand Down

0 comments on commit 160564e

Please sign in to comment.