centralized LED Control and ModeSwitching in Lubeapp.cpp

This commit is contained in:
2025-06-15 13:22:26 +02:00
parent 5638c03e76
commit 3357691a21
8 changed files with 94 additions and 21 deletions

View File

@@ -411,6 +411,8 @@ void Display_Process()
*/
void toggleWiFiAP(bool shutdown)
{
LEDControl_SetOverride(LED_WIFI_COLOR, LED_PATTERN_BLINK_FAST, 2500);
// Check if WiFi is currently active
if (WiFi.getMode() != WIFI_OFF)
{