diff --git a/components/espwifistack b/components/espwifistack index b447ce5..c07c900 160000 --- a/components/espwifistack +++ b/components/espwifistack @@ -1 +1 @@ -Subproject commit b447ce5de04ca30d0b9354b8b65472d3ee7aeac3 +Subproject commit c07c900a1bbe856d516b24261644f9b2e8a09686 diff --git a/main/wifi_bobbycar.cpp b/main/wifi_bobbycar.cpp index 0086c24..5e8d416 100644 --- a/main/wifi_bobbycar.cpp +++ b/main/wifi_bobbycar.cpp @@ -51,7 +51,14 @@ wifi_stack::config wifi_create_config() { return wifi_stack::config { .sta = wifi_create_sta_config(), - .ap = wifi_create_ap_config() + .ap = wifi_create_ap_config(), + .country = wifi_country_t { + .cc = { 'A', 'T', '\0' }, + .schan = 1, + .nchan = 13, + .max_tx_power = 30, + .policy = WIFI_COUNTRY_POLICY_MANUAL + } }; }