From 9dee2ede573304175663c758d0caa1077382a78c Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Mon, 8 Oct 2018 18:00:25 -0400 Subject: [PATCH] formatting fix --- src/TinyGsmClientSIM800.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }