From 11bb75e45beaae26019bae60e968636ea7be7b02 Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Sun, 27 Mar 2016 00:51:28 +0100 Subject: [PATCH] Correct ENABLE_EXTRA_GPIO usage --- WifiControlSensor/WifiControlSensor.ino | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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