diff --git a/src/TinyGsmClientSIM800.h b/src/TinyGsmClientSIM800.h index a0990cc..435e88d 100644 --- a/src/TinyGsmClientSIM800.h +++ b/src/TinyGsmClientSIM800.h @@ -147,7 +147,8 @@ public: // Workaround: sometimes SIM800 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 > 250) + { got_data = true; prev_check = millis(); }