|
|
@ -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(); |
|
|
|
} |
|
|
|