mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-23 12:15:32 +08:00
[Drivers]修复不打开dfs时,wlan驱动编译出错的问题
This commit is contained in:
@@ -36,6 +36,9 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct rt_wlan_info info;
|
struct rt_wlan_info info;
|
||||||
|
static char wifi_ssid[32] = {0};
|
||||||
|
static char wifi_key[32] = {0};
|
||||||
|
static int network_mode = WIFI_STATION;
|
||||||
|
|
||||||
#ifndef WIFI_SETTING_FN
|
#ifndef WIFI_SETTING_FN
|
||||||
#define WIFI_SETTING_FN "/appfs/setting.json"
|
#define WIFI_SETTING_FN "/appfs/setting.json"
|
||||||
@@ -54,10 +57,6 @@ struct rt_wlan_info info;
|
|||||||
#include <cJSON_util.h>
|
#include <cJSON_util.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char wifi_ssid[32] = {0};
|
|
||||||
static char wifi_key[32] = {0};
|
|
||||||
static int network_mode = WIFI_STATION;
|
|
||||||
|
|
||||||
int wifi_get_mode(void)
|
int wifi_get_mode(void)
|
||||||
{
|
{
|
||||||
return network_mode;
|
return network_mode;
|
||||||
|
|||||||
Reference in New Issue
Block a user