From a949358212f514455b735568df420741839750d6 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Tue, 18 Feb 2020 22:58:51 -0500 Subject: [PATCH] Space needed Signed-off-by: Sara Damiano --- src/TinyGsmGSMLocation.tpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TinyGsmGSMLocation.tpp b/src/TinyGsmGSMLocation.tpp index d503466..6c9a2e6 100644 --- a/src/TinyGsmGSMLocation.tpp +++ b/src/TinyGsmGSMLocation.tpp @@ -74,7 +74,7 @@ class TinyGsmGSMLocation { // 4 = Get longitude latitude and date time thisModem().sendAT(GF("+CLBS=1,1")); // Should get a location code of "0" indicating success - if (thisModem().waitResponse(120000L, GF("+CLBS:0,")) != 1) { return ""; } + if (thisModem().waitResponse(120000L, GF("+CLBS: ")) != 1) { return ""; } int8_t locationCode = thisModem().streamGetIntLength(2); // 0 = success, else, error if (locationCode != 0) { @@ -96,7 +96,7 @@ class TinyGsmGSMLocation { // 4 = Get longitude latitude and date time thisModem().sendAT(GF("+CLBS=4,1")); // Should get a location code of "0" indicating success - if (thisModem().waitResponse(120000L, GF("+CLBS:")) != 1) { return false; } + if (thisModem().waitResponse(120000L, GF("+CLBS: ")) != 1) { return false; } int8_t locationCode = thisModem().streamGetIntLength(2); // 0 = success, else, error if (locationCode != 0) {