mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
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:
parent
cef8c598c7
commit
e99966ec70
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ int board_i2c_init(void)
|
|||
ret = i2c_driver_init(ESP32S3_I2C1);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_ESP32S3_I2C0
|
||||
done:
|
||||
#endif
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue