diff --git a/VERSION b/VERSION index 3a4036f..53a75d6 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.5 +0.2.6 diff --git a/idf_component.yml b/idf_component.yml index 851b42b..fe332a4 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,4 +1,4 @@ -version: 0.2.5 +version: 0.2.6 description: ESP32-S3 robotics control library url: https://github.com/nfrproducts/probot-lib dependencies: diff --git a/library.json b/library.json index d1247ec..f05d9d0 100644 --- a/library.json +++ b/library.json @@ -26,5 +26,5 @@ "type": "git", "url": "https://github.com/nfrproducts/probot-lib" }, - "version": "0.2.5" + "version": "0.2.6" } diff --git a/library.properties b/library.properties index 1da244d..809fa0a 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=probot -version=0.2.5 +version=0.2.6 author=Tuna Gül maintainer=Tuna Gül sentence=ProBot Library for Robotics Competitions. diff --git a/src/driverstation/esp32s3/driver_station_esp32.hpp b/src/driverstation/esp32s3/driver_station_esp32.hpp index 926e1bb..2de5fad 100644 --- a/src/driverstation/esp32s3/driver_station_esp32.hpp +++ b/src/driverstation/esp32s3/driver_station_esp32.hpp @@ -45,6 +45,8 @@ namespace probot::driverstation::esp32 { #endif ap_ssid_ = ssid; WiFi.mode(WIFI_AP); + wifi_country_t country = { .cc = "TR", .schan = 1, .nchan = 13, .policy = WIFI_COUNTRY_POLICY_MANUAL }; + esp_wifi_set_country(&country); WiFi.softAP(ssid.c_str(), pw, PROBOT_WIFI_AP_CHANNEL); esp_wifi_set_bandwidth(WIFI_IF_AP, WIFI_BW_HT20); esp_wifi_set_ps(WIFI_PS_NONE);