chore(esp32s3_board_i2c): suppress warning

If only I2C1 is configured but not I2C0, gcc is giving a warning,
so we suppress it.
This commit is contained in:
Marco Casaroli 2023-10-10 10:05:45 +00:00 committed by Alan Carvalho de Assis
parent cef8c598c7
commit e99966ec70

View File

@ -86,7 +86,8 @@ int board_i2c_init(void)
ret = i2c_driver_init(ESP32S3_I2C1);
#endif
#ifdef CONFIG_ESP32S3_I2C0
done:
#endif
return ret;
}