From 0009d8f6aa9e7ff902d813270c230dd92563d71b Mon Sep 17 00:00:00 2001 From: Alex Date: Thu, 27 Oct 2016 17:04:05 -0500 Subject: [PATCH] Update cgitelnet.c Fixed bad variable reference --- esp-link/cgitelnet.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esp-link/cgitelnet.c b/esp-link/cgitelnet.c index c65cdf2..60ac767 100644 --- a/esp-link/cgitelnet.c +++ b/esp-link/cgitelnet.c @@ -34,7 +34,6 @@ int ICACHE_FLASH_ATTR cgiTelnetSet(HttpdConnData *connData) { char *coll; if (ok > 0) { // check whether ports are different - uint16_t pins = 0; if (port1 == port2) { coll = "Ports cannot be the same!"; goto collision; } // we're good, set flashconfig @@ -44,7 +43,7 @@ int ICACHE_FLASH_ATTR cgiTelnetSet(HttpdConnData *connData) { port1, port2); // apply the changes - serbridgeInitPins(); + serbridgeReinit(); // save to flash if (configSave()) {