Cellular: Fix plmn trace for IAR

IAR compiler does not seem to like printing null strings.
pull/10172/head
Kimmo Vaisanen 2019-03-20 14:39:07 +02:00
parent 9f2b23d009
commit 06caa0ff14
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}