Skip to content

Commit

Permalink
example: lwm2m: fix the compile bugs
Browse files Browse the repository at this point in the history
lwip_pmwifi_xxx to lwip_wifi

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
  • Loading branch information
Wayne Ren committed Aug 9, 2018
1 parent c7fd41f commit b206abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/freertos/iot/lwm2m/lwm2m_client/cmd_lwm2m.c
Expand Up @@ -166,7 +166,7 @@ static int cmd_lwm2m_client(int argc, char **argv, void *extobj)
return E_OK;
}

if (!lwip_pmwifi_isup()) {
if (!lwip_wifi_isup()) {
CMD_DEBUG("Wifi is not ready for lwM2M client.\r\n");
goto error_exit;
}
Expand Down
2 changes: 1 addition & 1 deletion example/freertos/iot/lwm2m/lwm2m_server/cmd_lwm2m.c
Expand Up @@ -119,7 +119,7 @@ static int cmd_lwm2m_server(int argc, char **argv, void *extobj)
return E_OK;
}

if (!lwip_pmwifi_isup()) {
if (!lwip_wifi_isup()) {
CMD_DEBUG("Wifi is not ready for lwM2M server.\r\n");
goto error_exit;
}
Expand Down

0 comments on commit b206abf

Please sign in to comment.