diff --git a/Kconfig.projbuild b/Kconfig.projbuild index e99acfc..300afec 100644 --- a/Kconfig.projbuild +++ b/Kconfig.projbuild @@ -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 diff --git a/src/espwifistackconfig.h b/src/espwifistackconfig.h index 50d3cc1..e4f846f 100644 --- a/src/espwifistackconfig.h +++ b/src/espwifistackconfig.h @@ -163,7 +163,7 @@ struct dual_ant_config struct sta_config { std::string hostname; - std::array wifis; + std::array wifis; int8_t min_rssi = -90; bool long_range = false; wifi_bandwidth_t bandwidth = WIFI_BW_HT20;