From fb51501234f5f605cc60295663ce2d72603ab871 Mon Sep 17 00:00:00 2001 From: Bilal Qamar Date: Thu, 23 May 2019 11:09:43 +0500 Subject: [PATCH] Timer stopped after exiting while loop --- .../framework/targets/UBLOX/AT/UBLOX_AT_CellularContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT_CellularContext.cpp b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT_CellularContext.cpp index 6089092c78..72ce9584e0 100644 --- a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT_CellularContext.cpp +++ b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT_CellularContext.cpp @@ -212,6 +212,7 @@ bool UBLOX_AT_CellularContext::activate_profile(const char *apn, break; wait_ms(5000); //Wait for 5 seconds and then try again } + t1.stop(); } } }