From e513e1cb4e356d434fa9bc275d5511b17c58f153 Mon Sep 17 00:00:00 2001 From: kakmonk <123673033+kakmonk@users.noreply.github.com> Date: Sat, 6 Dec 2025 12:18:37 -0500 Subject: [PATCH] Fix comment for I2C_CLK_LIMIT_XTAL definition Updating the comment to signal its limitation to XTAL not RTC. --- drivers/i2c/i2c_esp32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/i2c_esp32.c b/drivers/i2c/i2c_esp32.c index 57678fa1f8e21..653c4f834bcab 100644 --- a/drivers/i2c/i2c_esp32.c +++ b/drivers/i2c/i2c_esp32.c @@ -39,7 +39,7 @@ LOG_MODULE_REGISTER(i2c_esp32, CONFIG_I2C_LOG_LEVEL); #define I2C_CLK_LIMIT_REF_TICK (1 * 1000 * 1000 / 20) /* REF_TICK, no more than REF_TICK/20*/ #define I2C_CLK_LIMIT_APB (80 * 1000 * 1000 / 20) /* Limited by APB, no more than APB/20 */ #define I2C_CLK_LIMIT_RTC (20 * 1000 * 1000 / 20) /* Limited by RTC, no more than RTC/20 */ -#define I2C_CLK_LIMIT_XTAL (40 * 1000 * 1000 / 20) /* Limited by RTC, no more than XTAL/20 */ +#define I2C_CLK_LIMIT_XTAL (40 * 1000 * 1000 / 20) /* Limited by XTAL, no more than XTAL/20 */ #define I2C_CLOCK_INVALID (-1)