From 91d00fbbd7ebc65fe8b9227673616676af697c7d Mon Sep 17 00:00:00 2001 From: Chen Chen Date: Fri, 22 Aug 2025 10:38:48 +0800 Subject: [PATCH] docs(i2c_master): Fix a typo in description Closes https://github.com/espressif/esp-idf/issues/17475 --- components/esp_driver_i2c/include/driver/i2c_master.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_driver_i2c/include/driver/i2c_master.h b/components/esp_driver_i2c/include/driver/i2c_master.h index 6a76953413..b53d69d356 100644 --- a/components/esp_driver_i2c/include/driver/i2c_master.h +++ b/components/esp_driver_i2c/include/driver/i2c_master.h @@ -236,7 +236,7 @@ esp_err_t i2c_master_receive(i2c_master_dev_handle_t i2c_dev, uint8_t *read_buff * @param[in] address I2C device address that you want to probe. * @param[in] xfer_timeout_ms Wait timeout, in ms. Note: -1 means wait forever (Not recommended in this function). * - * @attention Pull-ups must be connected to the SCL and SDA pins when this function is called. If you get `ESP_ERR_TIMEOUT + * @attention Pull-ups must be connected to the SCL and SDA pins when this function is called. If you get `ESP_ERR_TIMEOUT` * while `xfer_timeout_ms` was parsed correctly, you should check the pull-up resistors. If you do not have proper resistors nearby. * `flags.enable_internal_pullup` is also acceptable. *