Configurable wifi sta config size

This commit is contained in:
CommanderRedYT committed 2023-12-17 16:30:35 +01:00
1 parent 7d10eed616
commit f65b8ad505
2 files changed
+6 -1

No files matched your search

+5
View File
@@ -44,4 +44,9 @@ config WIFI_LOG_WORKAROUND
bool "Enable disabled-log bug workaround (by enabling certain log statements)"
default false
config WIFI_STA_CONFIG_COUNT
int "Maximum number of STA configurations"
default 5
range 1 10
endmenu
+1 -1
View File
@@ -163,7 +163,7 @@ struct dual_ant_config
struct sta_config
{
std::string hostname;
std::array<wifi_entry, 10> wifis;
std::array<wifi_entry, CONFIG_WIFI_STA_CONFIG_COUNT> wifis;
int8_t min_rssi = -90;
bool long_range = false;
wifi_bandwidth_t bandwidth = WIFI_BW_HT20;