From 7ec09c80a50f5c5b455d76b44496452b8f235795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Kristan?= Date: Fri, 4 Jun 2021 06:54:27 +0200 Subject: [PATCH] Changed boot preset apply logic. --- wled00/button.cpp | 2 +- wled00/html_settings.h | 2 +- wled00/wled.cpp | 7 ++++--- wled00/wled.h | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/wled00/button.cpp b/wled00/button.cpp index 01462b0fc..afe10e02a 100644 --- a/wled00/button.cpp +++ b/wled00/button.cpp @@ -96,7 +96,7 @@ void handleAnalog(uint8_t b) if (buttonType[b] == BTN_TYPE_ANALOG_INVERTED) aRead = 255 - aRead; - // remove noise & reduce frequency of UI updates + // remove noise & reduce frequency of UI updates (3*13mV) aRead &= 0xFC; if (oldRead[b] == aRead) return; // no change in reading diff --git a/wled00/html_settings.h b/wled00/html_settings.h index 55ec4404f..697ca90fa 100644 --- a/wled00/html_settings.h +++ b/wled00/html_settings.h @@ -354,7 +354,7 @@ Timed-Light-Over Presets:

Button actions

push
switch
short
on->off
long
off->on
double
N/A
-For analog button set duble to: