[ESP8266] Removed redundant reset
This commit is contained in:
parent
38d9677268
commit
b1e0b646b0
1 changed files with 0 additions and 6 deletions
|
@ -49,12 +49,6 @@ int16_t ESP8266::join(const char* ssid, const char* password) {
|
||||||
return(ERR_AT_FAILED);
|
return(ERR_AT_FAILED);
|
||||||
}
|
}
|
||||||
|
|
||||||
// reset the module
|
|
||||||
int16_t state = reset();
|
|
||||||
if(state != ERR_NONE) {
|
|
||||||
return(state);
|
|
||||||
}
|
|
||||||
|
|
||||||
// build AT command
|
// build AT command
|
||||||
const char* atStr = "AT+CWJAP_CUR=\"";
|
const char* atStr = "AT+CWJAP_CUR=\"";
|
||||||
uint8_t cmdLen = strlen(atStr) + strlen(ssid) + strlen(password) + 4;
|
uint8_t cmdLen = strlen(atStr) + strlen(ssid) + strlen(password) + 4;
|
||||||
|
|
Loading…
Add table
Reference in a new issue