Skip to content

Commit

Permalink
pac-related esp32 update
Browse files Browse the repository at this point in the history
I'm dumb
  • Loading branch information
playfulFence committed Nov 8, 2024
1 parent b811cbc commit 55f48fe
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions esp-hal/src/i2c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1167,13 +1167,7 @@ fn async_handler(info: &Info, state: &State) {
#[cfg(not(any(esp32, esp32s2)))]
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()
});

state.waker.wake();
Expand Down

0 comments on commit 55f48fe

Please sign in to comment.