Skip to content

Commit 8b91675

Browse files
authored
Merge pull request #1 from m5stack/master
update
2 parents b1280c8 + f230c61 commit 8b91675

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/M5Stack.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ void M5Stack::begin(bool LCDEnable, bool SDEnable, bool SerialEnable, bool I2CEn
4646
if (SerialEnable == true) {
4747
Serial.println("OK");
4848
}
49+
50+
// if use M5GO button, need set gpio15 OD or PP mode to avoid affecting the wifi signal
51+
pinMode(15, OUTPUT_OPEN_DRAIN);
4952
}
5053

5154
void M5Stack::update() {

0 commit comments

Comments
 (0)