mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-12-08 20:48:44 +00:00
Fixed SIM800 issue
This commit is contained in:
@@ -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(); \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user