【修复】编译错误
This commit is contained in:
parent
7b0d9bb522
commit
627fed4fbf
|
|
@ -280,7 +280,7 @@ void wlan_station_scan(void)
|
|||
}
|
||||
else
|
||||
{
|
||||
mp_printf(&mp_plat_print, ("wifi scan result is null\n");
|
||||
mp_printf(&mp_plat_print, ("wifi scan result is null\n"));
|
||||
*wlan_scan_list = MP_OBJ_NULL;
|
||||
}
|
||||
}
|
||||
|
|
@ -323,7 +323,7 @@ STATIC mp_obj_t wlan_ifconfig(size_t n_args, const mp_obj_t *args) {
|
|||
struct netdev *netdev = netdev_default;
|
||||
if (netdev == RT_NULL)
|
||||
{
|
||||
mp_printf(&mp_plat_print, ("not find wlan interface device.\n");
|
||||
mp_printf(&mp_plat_print, ("not find wlan interface device.\n"));
|
||||
return MP_OBJ_NEW_SMALL_INT(-1);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ void mp_putsn_init(void) {
|
|||
{/* register dummy console device */
|
||||
#ifdef RT_USING_DEVICE_OPS
|
||||
static struct rt_device_ops _ops = {0};
|
||||
dummy_console.ops = &_ops
|
||||
dummy_console.ops = &_ops;
|
||||
#endif
|
||||
|
||||
dummy_console.type = RT_Device_Class_Char;
|
||||
|
|
|
|||
Loading…
Reference in New Issue