Fixed SIM800 issue

This commit is contained in:
Sara Damiano
2019-05-24 14:40:09 -04:00
parent 98bee318ad
commit 344bacd73e
2 changed files with 18 additions and 15 deletions

View File

@@ -249,7 +249,7 @@ String TinyGsmDecodeHex16bit(String &instr) {
/* Workaround: sometimes module forgets to notify about data arrival.
TODO: Currently we ping the module periodically,
but maybe there's a better indicator that we need to poll */ \
if (millis() - prev_check > 250) { \
if (millis() - prev_check > 500) { \
got_data = true; \
prev_check = millis(); \
} \
@@ -311,7 +311,7 @@ String TinyGsmDecodeHex16bit(String &instr) {
/* Workaround: sometimes module forgets to notify about data arrival.
TODO: Currently we ping the module periodically,
but maybe there's a better indicator that we need to poll */ \
if (millis() - prev_check > 250) { \
if (millis() - prev_check > 500) { \
got_data = true; \
prev_check = millis(); \
} \