This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit e99966ec703497c1c57ed8a4d84e7805b6872418 Author: Marco Casaroli <marco.casar...@gmail.com> AuthorDate: Tue Oct 10 10:05:45 2023 +0000 chore(esp32s3_board_i2c): suppress warning If only I2C1 is configured but not I2C0, gcc is giving a warning, so we suppress it. --- boards/xtensa/esp32s3/common/src/esp32s3_board_i2c.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/boards/xtensa/esp32s3/common/src/esp32s3_board_i2c.c b/boards/xtensa/esp32s3/common/src/esp32s3_board_i2c.c index de5c46519c..30f7c3b66b 100644 --- a/boards/xtensa/esp32s3/common/src/esp32s3_board_i2c.c +++ b/boards/xtensa/esp32s3/common/src/esp32s3_board_i2c.c @@ -86,7 +86,8 @@ int board_i2c_init(void) ret = i2c_driver_init(ESP32S3_I2C1); #endif +#ifdef CONFIG_ESP32S3_I2C0 done: +#endif return ret; } -