From b1e0b646b0f670f1e56961dca0b7e6085141237b Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 5 Feb 2019 20:44:55 +0100 Subject: [PATCH] [ESP8266] Removed redundant reset --- src/modules/ESP8266.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/ESP8266.cpp b/src/modules/ESP8266.cpp index 201a93ed..c6dcc55a 100644 --- a/src/modules/ESP8266.cpp +++ b/src/modules/ESP8266.cpp @@ -49,12 +49,6 @@ int16_t ESP8266::join(const char* ssid, const char* password) { return(ERR_AT_FAILED); } - // reset the module - int16_t state = reset(); - if(state != ERR_NONE) { - return(state); - } - // build AT command const char* atStr = "AT+CWJAP_CUR=\""; uint8_t cmdLen = strlen(atStr) + strlen(ssid) + strlen(password) + 4;