Skip to content

Commit 627fed4

Browse files
committed
【修复】编译错误
1 parent 7b0d9bb commit 627fed4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

port/modules/modnetwork_wlan.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ void wlan_station_scan(void)
280280
}
281281
else
282282
{
283-
mp_printf(&mp_plat_print, ("wifi scan result is null\n");
283+
mp_printf(&mp_plat_print, ("wifi scan result is null\n"));
284284
*wlan_scan_list = MP_OBJ_NULL;
285285
}
286286
}
@@ -323,7 +323,7 @@ STATIC mp_obj_t wlan_ifconfig(size_t n_args, const mp_obj_t *args) {
323323
struct netdev *netdev = netdev_default;
324324
if (netdev == RT_NULL)
325325
{
326-
mp_printf(&mp_plat_print, ("not find wlan interface device.\n");
326+
mp_printf(&mp_plat_print, ("not find wlan interface device.\n"));
327327
return MP_OBJ_NEW_SMALL_INT(-1);
328328
}
329329

port/mpputsnport.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ void mp_putsn_init(void) {
5151
{/* register dummy console device */
5252
#ifdef RT_USING_DEVICE_OPS
5353
static struct rt_device_ops _ops = {0};
54-
dummy_console.ops = &_ops
54+
dummy_console.ops = &_ops;
5555
#endif
5656

5757
dummy_console.type = RT_Device_Class_Char;

0 commit comments

Comments
 (0)