Correct ENABLE_EXTRA_GPIO usage
This commit is contained in:
parent
ce1f4fc3b2
commit
11bb75e45b
@ -159,12 +159,11 @@ void setup() {
|
||||
SKETCH_DEBUG_INIT(115200);
|
||||
SKETCH_DEBUG_PRINTLN();
|
||||
|
||||
#ifndef ENABLE_EXTRA_GPIO
|
||||
// Get GPIO 3 Status
|
||||
Serial.swap(); //Switch Serial on GPIO 13 & 15
|
||||
pinMode(3, INPUT_PULLUP);
|
||||
int txStatus = digitalRead(3);
|
||||
|
||||
#ifndef ENABLE_EXTRA_GPIO
|
||||
Serial.swap(); // Switch back on GPIO 1 & 3
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user