Coding style corrected

pull/10636/head
Bilal Qamar 2019-05-23 14:26:38 +05:00
parent fb51501234
commit 4a37b13bd0
1 changed files with 3 additions and 2 deletions

View File

@ -208,8 +208,9 @@ bool UBLOX_AT_CellularContext::activate_profile(const char *apn,
_at.read_int() ? activated = true : activated = false;
_at.resp_stop();
if (activated) //If context is activated, exit while loop and return status
if (activated) { //If context is activated, exit while loop and return status
break;
}
wait_ms(5000); //Wait for 5 seconds and then try again
}
t1.stop();