From dc13c664939711812d6d6a68f393a73606c92552 Mon Sep 17 00:00:00 2001 From: Me No Dev Date: Sat, 18 Oct 2025 12:39:58 +0300 Subject: [PATCH] fix(i2c): Set I2C master log level to none Silence log messages from the I2C master driver. --- cores/esp32/esp32-hal-i2c-ng.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cores/esp32/esp32-hal-i2c-ng.c b/cores/esp32/esp32-hal-i2c-ng.c index a3b2307b8a8..8a55b369d9e 100644 --- a/cores/esp32/esp32-hal-i2c-ng.c +++ b/cores/esp32/esp32-hal-i2c-ng.c @@ -156,6 +156,9 @@ esp_err_t i2cInit(uint8_t i2c_num, int8_t sda, int8_t scl, uint32_t frequency) { } } + // Silence messages coming from the IDF driver + esp_log_level_set("i2c.master", ESP_LOG_NONE); + init_fail: #if !CONFIG_DISABLE_HAL_LOCKS //release lock