Просмотр исходного кода

wifi changes:

1. fix the bug for softAP update second channel wrong
2. change wifi_scan_time_t from union to struct
3. query country code wrong when policy change from manual to auto
zhangyanjiao 5 лет назад
Родитель
Сommit
43d8950682
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      components/esp_wifi/include/esp_wifi_types.h
  2. 1 1
      components/esp_wifi/lib

+ 1 - 1
components/esp_wifi/include/esp_wifi_types.h

@@ -114,7 +114,7 @@ typedef struct {
 } wifi_active_scan_time_t;
 
 /** @brief Aggregate of active & passive scan time per channel */
-typedef union {
+typedef struct {
     wifi_active_scan_time_t active;  /**< active scan time per channel, units: millisecond. */
     uint32_t passive;                /**< passive scan time per channel, units: millisecond, values above 1500ms may
                                           cause station to disconnect from AP and are not recommended. */

+ 1 - 1
components/esp_wifi/lib

@@ -1 +1 @@
-Subproject commit 8510f00170b80cdfeefb3489feb54a83a0d67bea
+Subproject commit f5a7514a1c37a542728b1c5608578d0b0f868ec5