mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Fix plmn trace for IAR
IAR compiler does not seem to like printing null strings.pull/10172/head
parent
9f2b23d009
commit
06caa0ff14
|
@ -259,7 +259,7 @@ nsapi_error_t AT_CellularContext::set_blocking(bool blocking)
|
|||
|
||||
void AT_CellularContext::set_plmn(const char *plmn)
|
||||
{
|
||||
tr_info("CellularContext plmn %s", plmn);
|
||||
tr_info("CellularContext plmn %s", (plmn ? plmn : "NULL"));
|
||||
_device->set_plmn(plmn);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue