This commit is contained in:
SRGDamia1
2017-04-09 14:31:25 -04:00
parent ad278fb834
commit e4716cabc4

View File

@@ -537,7 +537,7 @@ private:
bool commandMode(void){ bool commandMode(void){
delay(1000); // cannot send anything for 1 second before entering command mode delay(1000); // cannot send anything for 1 second before entering command mode
streamWrite(GF("+++")); // enter command mode streamWrite(GF("+++")); // enter command mode
DBG("+++\r\n"); DBG("\r\n+++\r\n");
waitResponse(1100); waitResponse(1100);
return 1 == waitResponse(1100); // wait another second for an "OK\r" return 1 == waitResponse(1100); // wait another second for an "OK\r"
} }