Skip to content

Commit 8a6513a

Browse files
committed
Merge branch 'master' of github.com:Gitshaoxiang/M5Stack
2 parents 5f57168 + 8b91675 commit 8a6513a

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)