@@ -6,6 +6,8 @@
#include "rtthread.h"
#include <rtdevice.h>
+
+#ifdef RT_USING_WIFI
#include "wlan_mgnt.h"
#define DBG_TAG "w60x.init"
@@ -19,4 +21,4 @@ static int rtt_w60x_init() {
}
INIT_COMPONENT_EXPORT(rtt_w60x_init);
#endif
-
+#endif
@@ -9,6 +9,7 @@
*/
#include <rtthread.h>
#include <wlan_dev.h>
#include "wm_type_def.h"
#include "wm_wifi.h"
@@ -628,3 +629,5 @@ int wm_hw_wifi_init(void)
return ret; //RT_EOK;
INIT_DEVICE_EXPORT(wm_hw_wifi_init);
@@ -9,6 +9,8 @@
#include "luat_malloc.h"
#define DBG_TAG "luat.wlan"
#define DBG_LVL DBG_INFO
#include <rtdbg.h>
@@ -656,3 +658,5 @@ LUAMOD_API int luaopen_wlan( lua_State *L ) {
@@ -1,6 +1,7 @@
#ifdef RT_WLAN_MANAGE_ENABLE
#include <sys/socket.h>
@@ -211,3 +212,5 @@ int airkiss_start(void)
// 几个