Skip to content

Commit a5de366

Browse files
committed
Added a minor change for the ESP32-P4
1 parent 0edbd1b commit a5de366

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/arduino_io.inl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,8 @@ int bbepI2CInit(uint8_t sda, uint8_t scl, int bb)
291291
conf.clk_source = I2C_CLK_SRC_DEFAULT;
292292
conf.glitch_ignore_cnt = 7;
293293
conf.flags.enable_internal_pullup = true;
294+
conf.intr_priority = 0;
295+
conf.trans_queue_depth = 0; // keep synchronous mode
294296
ESP_ERROR_CHECK(i2c_new_master_bus(&conf, &my_bus_handle));
295297
#else // older esp-idff
296298
i2c_config_t conf;

0 commit comments

Comments
 (0)