[ESP8266] Removed redundant reset

This commit is contained in:
jgromes 2019-02-05 20:44:55 +01:00
parent 38d9677268
commit b1e0b646b0

View file

@ -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;