From 627fed4fbfa49fcf6fd4b6093cadf2b909fd4c19 Mon Sep 17 00:00:00 2001 From: SummerGift Date: Mon, 29 Jul 2019 10:07:33 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E5=A4=8D=E3=80=91=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- port/modules/modnetwork_wlan.c | 4 ++-- port/mpputsnport.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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;