From 861d649a7e5642b957036ae5492f51ab5fcc6006 Mon Sep 17 00:00:00 2001 From: Wajahat Abbas Date: Thu, 30 Aug 2018 16:47:09 +0500 Subject: [PATCH] corrected a typo in AT_CellularPower::opt_power_save_mode --- features/cellular/framework/AT/AT_CellularPower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/cellular/framework/AT/AT_CellularPower.cpp b/features/cellular/framework/AT/AT_CellularPower.cpp index 7a30c60539..ce508e3a4d 100644 --- a/features/cellular/framework/AT/AT_CellularPower.cpp +++ b/features/cellular/framework/AT/AT_CellularPower.cpp @@ -190,7 +190,7 @@ nsapi_error_t AT_CellularPower::opt_power_save_mode(int periodic_time, int activ } uint_to_binary_str(active_timer, &at[3], sizeof(at) - 3, PSMTimerBits); - pt[8] = '\0'; + at[8] = '\0'; // request for both GPRS and LTE _at.cmd_start("AT+CPSMS=");