Skip to content

Commit

Permalink
pac-related esp32 update
Browse files Browse the repository at this point in the history
  • Loading branch information
playfulFence committed Nov 8, 2024
1 parent b811cbc commit 7237709
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions esp-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1168,11 +1168,7 @@ fn async_handler(info: &Info, state: &State) {
w.txfifo_wm().clear_bit();

cfg_if::cfg_if! {
if #[cfg(esp32)] {
w.ack_err().clear_bit()
} else {
w.nack().clear_bit()
}
w.nack().clear_bit()
}
});

Expand Down

0 comments on commit 7237709

Please sign in to comment.