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
@ -86,7 +86,8 @@ int board_i2c_init(void)
|
|||||||
ret = i2c_driver_init(ESP32S3_I2C1);
|
ret = i2c_driver_init(ESP32S3_I2C1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_ESP32S3_I2C0
|
||||||
done:
|
done:
|
||||||
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user