From bc9818c35367ab5958d62b7aa3aaa9e1c25d33bc Mon Sep 17 00:00:00 2001 From: Volodymyr Shymanskyy Date: Mon, 11 Jun 2018 00:52:36 +0300 Subject: [PATCH] Add comments --- src/TinyGsmClientSIM800.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TinyGsmClientSIM800.h b/src/TinyGsmClientSIM800.h index a841a66..08e256a 100644 --- a/src/TinyGsmClientSIM800.h +++ b/src/TinyGsmClientSIM800.h @@ -244,8 +244,8 @@ public: for (unsigned long start = millis(); millis() - start < timeout; ) { sendAT(GF("")); if (waitResponse(200) == 1) { - delay(100); - return true; + delay(100); + return true; } delay(100); } @@ -313,6 +313,7 @@ public: return false; } //Enable Local Time Stamp for getting network time + // TODO: Find a better place for this sendAT(GF("+CLTS=1")); if (waitResponse(10000L) != 1) { return false;