From d0a2b4b016f1afc86a8bdc5aec97322c99dfdc1d Mon Sep 17 00:00:00 2001 From: tunapro Date: Sat, 7 Feb 2026 09:22:13 +0300 Subject: [PATCH] chore: bump version to 0.2.5 and allow WiFi channels 1-13 Co-Authored-By: Claude Opus 4.6 --- VERSION | 2 +- idf_component.yml | 2 +- library.json | 2 +- library.properties | 2 +- src/driverstation/esp32s3/driver_station_esp32.hpp | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/VERSION b/VERSION index abd4105..3a4036f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.4 +0.2.5 diff --git a/idf_component.yml b/idf_component.yml index f7e8cf0..851b42b 100644 --- a/idf_component.yml +++ b/idf_component.yml @@ -1,4 +1,4 @@ -version: 0.2.4 +version: 0.2.5 description: ESP32-S3 robotics control library url: https://github.com/nfrproducts/probot-lib dependencies: diff --git a/library.json b/library.json index 32899a6..d1247ec 100644 --- a/library.json +++ b/library.json @@ -26,5 +26,5 @@ "type": "git", "url": "https://github.com/nfrproducts/probot-lib" }, - "version": "0.2.4" + "version": "0.2.5" } diff --git a/library.properties b/library.properties index cd9d516..1da244d 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=probot -version=0.2.4 +version=0.2.5 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 7600544..926e1bb 100644 --- a/src/driverstation/esp32s3/driver_station_esp32.hpp +++ b/src/driverstation/esp32s3/driver_station_esp32.hpp @@ -24,10 +24,10 @@ static_assert(sizeof(PROBOT_WIFI_AP_SSID) - 1 <= 32, "PROBOT_WIFI_AP_SSID must b static_assert(sizeof(PROBOT_WIFI_AP_SSID) - 1 <= 25, "PROBOT_WIFI_AP_SSID must be 25 characters or fewer when MAC suffix is enabled."); #endif #ifndef PROBOT_WIFI_AP_CHANNEL -#error "WiFi AP channel not provided. Define PROBOT_WIFI_AP_CHANNEL (1-11) before including probot.h." +#error "WiFi AP channel not provided. Define PROBOT_WIFI_AP_CHANNEL (1-13) before including probot.h." #endif -static_assert(PROBOT_WIFI_AP_CHANNEL >= 1 && PROBOT_WIFI_AP_CHANNEL <= 11, - "PROBOT_WIFI_AP_CHANNEL must be between 1 and 11."); +static_assert(PROBOT_WIFI_AP_CHANNEL >= 1 && PROBOT_WIFI_AP_CHANNEL <= 13, + "PROBOT_WIFI_AP_CHANNEL must be between 1 and 13."); namespace probot::driverstation::esp32 { class DriverStation {