We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba67895 commit 0051ab3Copy full SHA for 0051ab3
m5stack/board.cpp
@@ -15,7 +15,7 @@ extern "C" {
15
auto cfg = M5.config();
16
cfg.output_power = false;
17
M5.begin(cfg);
18
- if (M5.getBoard() == m5::board_t::board_M5StackCoreS3) {
+ if (M5.getBoard() == m5::board_t::board_M5StackCoreS3 || M5.getBoard() == m5::board_t::board_M5StackCoreS3SE) {
19
periph_module_disable(PERIPH_I2C1_MODULE);
20
i2c_config_t conf;
21
memset(&conf, 0, sizeof(i2c_config_t));
@@ -64,4 +64,4 @@ extern "C" {
64
M5.Power.setUsbOutput(usb_output);
65
M5.Power.setExtOutput(bus_output);
66
}
67
-}
+}
0 commit comments