Skip to content

Commit 4a37b13

Browse files
committed
Coding style corrected
1 parent fb51501 commit 4a37b13

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

features/cellular/framework/targets/UBLOX/AT/UBLOX_AT_CellularContext.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,16 +200,17 @@ bool UBLOX_AT_CellularContext::activate_profile(const char *apn,
200200
if (_at.get_last_error() == NSAPI_ERROR_OK) {
201201
Timer t1;
202202
t1.start();
203-
while (!(t1.read() >= 180)){
203+
while (!(t1.read() >= 180)) {
204204
_at.cmd_start("AT+UPSND=" PROFILE ",8");
205205
_at.cmd_stop();
206206
_at.resp_start("+UPSND:");
207207
_at.skip_param(2);
208208
_at.read_int() ? activated = true : activated = false;
209209
_at.resp_stop();
210210

211-
if (activated) //If context is activated, exit while loop and return status
211+
if (activated) { //If context is activated, exit while loop and return status
212212
break;
213+
}
213214
wait_ms(5000); //Wait for 5 seconds and then try again
214215
}
215216
t1.stop();

0 commit comments

Comments
 (0)