From e4b44e6f95d0a0cb21c9085af996bb7ebb4b62e5 Mon Sep 17 00:00:00 2001 From: Pieter Geelen Date: Tue, 26 Dec 2023 16:41:52 +0100 Subject: [PATCH] Tested code, debugged infinite While Loop by simply removing it and removed unused dependency. --- controller/tea_poor/lib/RemoteControl/RemoteControl.cpp | 1 - controller/tea_poor/lib/RemoteControl/RemoteControl.h | 2 +- controller/tea_poor/platformio.ini | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/controller/tea_poor/lib/RemoteControl/RemoteControl.cpp b/controller/tea_poor/lib/RemoteControl/RemoteControl.cpp index 23693ae..c4ebe9d 100644 --- a/controller/tea_poor/lib/RemoteControl/RemoteControl.cpp +++ b/controller/tea_poor/lib/RemoteControl/RemoteControl.cpp @@ -58,7 +58,6 @@ void RemoteControl::_setupNetwork() { Serial.print("Latest available version: "); Serial.println(WIFI_FIRMWARE_LATEST_VERSION); Serial.println("Please upgrade your firmware."); - while(true) delay(500); } Serial.print("Connecting to "); diff --git a/controller/tea_poor/lib/RemoteControl/RemoteControl.h b/controller/tea_poor/lib/RemoteControl/RemoteControl.h index ccb0f56..78fb5e5 100644 --- a/controller/tea_poor/lib/RemoteControl/RemoteControl.h +++ b/controller/tea_poor/lib/RemoteControl/RemoteControl.h @@ -10,7 +10,7 @@ typedef void (*RemoteControlRoutesCallback)(Application &app); class RemoteControl { public: - RemoteControl(const char* SSID, const char* SSIDPassword); + RemoteControl(const char* SSID, const char* SSIDPassword); ~RemoteControl(); void setup(RemoteControlRoutesCallback routes); void process(); diff --git a/controller/tea_poor/platformio.ini b/controller/tea_poor/platformio.ini index c98bfb6..1515112 100644 --- a/controller/tea_poor/platformio.ini +++ b/controller/tea_poor/platformio.ini @@ -13,5 +13,4 @@ platform = renesas-ra board = uno_r4_wifi framework = arduino lib_deps = - bblanchon/ArduinoJson@^6.21.4 lasselukkari/aWOT@^3.5.0