From 861517e113c33186415212b15fd36d28aa53478c Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Wed, 12 Feb 2020 19:52:59 -0500 Subject: [PATCH] format fix Signed-off-by: Sara Damiano --- src/TinyGsmClientSIM7000.h | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/TinyGsmClientSIM7000.h b/src/TinyGsmClientSIM7000.h index 5eab2a3..61d2d8e 100644 --- a/src/TinyGsmClientSIM7000.h +++ b/src/TinyGsmClientSIM7000.h @@ -165,14 +165,11 @@ class TinyGsmSim7000 : public TinyGsmModem, // Enable Local Time Stamp for getting network time sendAT(GF("+CLTS=1")); - if (waitResponse(10000L) != 1) { return false; - } + if (waitResponse(10000L) != 1) { return false; } // Enable battery checks sendAT(GF("+CBATCHK=1")); - if (waitResponse() != 1) { - return false; - } + if (waitResponse() != 1) { return false; } int ret = getSimStatus(); // if the sim isn't ready and a pin has been provided, try to unlock the sim @@ -213,8 +210,7 @@ class TinyGsmSim7000 : public TinyGsmModem, sendAT(GF("+CFUN=0")); if (waitResponse(10000L) != 1) { return false; } sendAT(GF("+CFUN=1,1")); - if (waitResponse(10000L) != 1) { return false; - } + if (waitResponse(10000L) != 1) { return false; } waitResponse(60000L, GF("SMS Ready")); return init(); }