forked from btclock/btclock_v3
Add suffix compact mode, added extra zap notify settings, WebUI cleanup
This commit is contained in:
parent
2951055f68
commit
4cda081d05
14 changed files with 81 additions and 20 deletions
|
@ -285,7 +285,7 @@ void ledTask(void *parameter)
|
|||
#ifdef HAS_FRONTLIGHT
|
||||
bool frontlightWasOn = false;
|
||||
|
||||
if (preferences.getBool("flFlashOnUpd", DEFAULT_FL_FLASH_ON_UPDATE))
|
||||
if (preferences.getBool("flFlashOnZap", DEFAULT_FL_FLASH_ON_ZAP))
|
||||
{
|
||||
if (frontlightOn)
|
||||
{
|
||||
|
@ -307,7 +307,7 @@ void ledTask(void *parameter)
|
|||
// blinkDelayTwoColor(250, 3, pixels.Color(142, 48, 235),
|
||||
// pixels.Color(169, 21, 255));
|
||||
#ifdef HAS_FRONTLIGHT
|
||||
if (preferences.getBool("flFlashOnUpd", DEFAULT_FL_FLASH_ON_UPDATE))
|
||||
if (preferences.getBool("flFlashOnZap", DEFAULT_FL_FLASH_ON_ZAP))
|
||||
{
|
||||
vTaskDelay(pdMS_TO_TICKS(10));
|
||||
if (frontlightWasOn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue