Removed extra delay in testAT, not sure why it was there

This commit is contained in:
Sara Damiano
2018-09-27 15:14:42 -04:00
parent 5c0736284b
commit 8e057f32ae
11 changed files with 11 additions and 35 deletions

View File

@@ -258,10 +258,7 @@ public:
//streamWrite(GF("AAAAA" GSM_NL)); // TODO: extra A's to help detect the baud rate
for (unsigned long start = millis(); millis() - start < timeout; ) {
sendAT(GF(""));
if (waitResponse(200) == 1) {
delay(100);
return true;
}
if (waitResponse(200) == 1) return true;
delay(100);
}
return false;