From cf6ff9fd2b620a85d9bc45d90e9b12ae91807711 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Fri, 7 Sep 2018 14:11:54 -0400 Subject: [PATCH] White space change --- src/TinyGsmClientSIM800.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/TinyGsmClientSIM800.h b/src/TinyGsmClientSIM800.h index 9e02038..9519a3c 100644 --- a/src/TinyGsmClientSIM800.h +++ b/src/TinyGsmClientSIM800.h @@ -213,7 +213,11 @@ public: public: +#ifdef GSM_DEFAULT_STREAM + TinyGsmSim800(Stream& stream = GSM_DEFAULT_STREAM) +#else TinyGsmSim800(Stream& stream) +#endif : stream(stream) { memset(sockets, 0, sizeof(sockets)); @@ -402,10 +406,10 @@ public: int status = waitResponse(GF("READY"), GF("SIM PIN"), GF("SIM PUK"), GF("NOT INSERTED")); waitResponse(); switch (status) { - case 2: - case 3: return SIM_LOCKED; - case 1: return SIM_READY; - default: return SIM_ERROR; + case 2: + case 3: return SIM_LOCKED; + case 1: return SIM_READY; + default: return SIM_ERROR; } } return SIM_ERROR;