解决了扫描WIFI后程序重启问题
This commit is contained in:
parent
22c60ee94d
commit
500841b6d2
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
@ -24,6 +24,8 @@
|
||||
"string_view": "c",
|
||||
"span": "c",
|
||||
"esp_vfs_fat.h": "c",
|
||||
"cstdlib": "c"
|
||||
"cstdlib": "c",
|
||||
"fluxwifi.h": "c",
|
||||
"event_groups.h": "c"
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -16636,8 +16636,8 @@
|
||||
"theme_dark": false,
|
||||
"theme_color1": 5,
|
||||
"theme_color2": 0,
|
||||
"uiExportFolderPath": "E:\\FluxDC\\SquareLineProj\\Export",
|
||||
"projectExportFolderPath": "E:\\FluxDC\\SquareLineProj\\Export",
|
||||
"uiExportFolderPath": "D:\\yuwell_workspace\\FluxDC\\SquareLineProj\\Export",
|
||||
"projectExportFolderPath": "D:\\yuwell_workspace\\FluxDC\\SquareLineProj\\Export",
|
||||
"custom_variable_prefix": "uic",
|
||||
"backup_cnt": 234,
|
||||
"autosave_cnt": 0,
|
||||
|
||||
Binary file not shown.
@ -48,6 +48,9 @@ void wifi_scan(void)
|
||||
/* »ñȡɨÃè½á¹û */
|
||||
get_wifi_scan_result();
|
||||
|
||||
/* ֹͣɨÃè */
|
||||
esp_wifi_scan_stop();
|
||||
esp_wifi_stop();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@ -15,6 +15,10 @@
|
||||
#define DEFAULT_SCAN_LIST_SIZE 10
|
||||
|
||||
|
||||
extern wifi_ap_record_t ap_info[DEFAULT_SCAN_LIST_SIZE];
|
||||
extern int number;
|
||||
extern int ap_count;
|
||||
|
||||
static void print_wifi_scan_result(uint16_t ap_count, uint16_t number);
|
||||
static void print_cipher_type(int pairwise_cipher, int group_cipher);
|
||||
static void print_auth_mode(int authmode);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user