diff --git a/port/modules/modnetwork_wlan.c b/port/modules/modnetwork_wlan.c index be9bf54..3f7f35a 100644 --- a/port/modules/modnetwork_wlan.c +++ b/port/modules/modnetwork_wlan.c @@ -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); } diff --git a/port/mpputsnport.c b/port/mpputsnport.c index 9899988..199e993 100644 --- a/port/mpputsnport.c +++ b/port/mpputsnport.c @@ -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;