From 7237709fa7f85a424d8f5f6464631ac1df1b088b Mon Sep 17 00:00:00 2001 From: Kirill Mikhailov Date: Fri, 8 Nov 2024 13:12:24 +0100 Subject: [PATCH] pac-related esp32 update --- esp-hal/src/i2c.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/esp-hal/src/i2c.rs b/esp-hal/src/i2c.rs index 1f40a6372d..a9399a8a20 100644 --- a/esp-hal/src/i2c.rs +++ b/esp-hal/src/i2c.rs @@ -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() } });