From 6a5dcb3a765350930c2027204ef8455ccc914f3c Mon Sep 17 00:00:00 2001 From: Blaz Kristan Date: Thu, 26 Jun 2025 15:45:22 +0200 Subject: [PATCH] More OTA UI tweaks --- wled00/data/index.htm | 2 +- wled00/data/index.js | 1 + wled00/wled.h | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/wled00/data/index.htm b/wled00/data/index.htm index 3716f7ccd..22f1987e9 100644 --- a/wled00/data/index.htm +++ b/wled00/data/index.htm @@ -329,7 +329,7 @@
- +

diff --git a/wled00/data/index.js b/wled00/data/index.js index 295a3403b..f421bd941 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -685,6 +685,7 @@ function parseInfo(i) { gId("filter2D").classList.remove('hide'); gId('bs').querySelectorAll('option[data-type="2D"]').forEach((o,i)=>{o.style.display='';}); } + gId("updBt").style.display = (i.opt & 1) ? '':'none'; // if (i.noaudio) { // gId("filterVol").classList.add("hide"); // gId("filterFreq").classList.add("hide"); diff --git a/wled00/wled.h b/wled00/wled.h index 318bf9890..3772fcd1f 100644 --- a/wled00/wled.h +++ b/wled00/wled.h @@ -22,6 +22,9 @@ // You are required to disable over-the-air updates: //#define WLED_DISABLE_OTA // saves 14kb #ifdef WLED_ENABLE_AOTA + #if defined(WLED_DISABLE_OTA) + #warning WLED_DISABLE_OTA was defined but it will be ignored due to WLED_ENABLE_AOTA. + #endif #undef WLED_DISABLE_OTA #endif