Skip to content

Commit b96652c

Browse files
wifi changes:
1. fix the bug for softAP update second channel wrong 2. query country code wrong when policy change from manual to auto 3. change wifi_scan_time_t from union to struct
1 parent aad3b0e commit b96652c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/esp_wifi/include/esp_wifi_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ typedef struct {
114114
} wifi_active_scan_time_t;
115115

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

0 commit comments

Comments
 (0)