1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-14 06:23:07 +01:00

allow to control LEB brightness via config UI

This commit is contained in:
andreas
2023-10-14 13:44:13 +02:00
parent d1032bc231
commit 723713b69d
3 changed files with 21 additions and 5 deletions

View File

@@ -19,6 +19,7 @@
#define GWSERIAL_TYPE_TX 4
#include <GwConfigItem.h>
#include <HardwareSerial.h>
#include "GwAppInfo.h"
#include "GwUserTasks.h"
//general definitions for M5AtomLite
@@ -230,4 +231,13 @@
#endif
#endif
#ifdef GWLED_FASTLED
#define CFGMODE_ledBrightness GwConfigInterface::NORMAL
#ifdef GWLED_BRIGHTNESS
#define CFGDEFAULT_ledBrightness GWSTRINGIFY(GWLED_BRIGHTNESS)
#endif
#else
#define CFGMODE_ledBrightness GwConfigInterface::HIDDEN
#endif
#endif