diff --git a/WifiControlSensor/WifiControlSensor.ino b/WifiControlSensor/WifiControlSensor.ino index dbb2d18..aacdb52 100644 --- a/WifiControlSensor/WifiControlSensor.ino +++ b/WifiControlSensor/WifiControlSensor.ino @@ -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