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