1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2026-03-29 03:16:35 +02:00

Move config code into page constructors and some code cleanup

This commit is contained in:
2025-08-14 09:12:56 +02:00
parent 54b4954797
commit 8695d3eeb5
32 changed files with 317 additions and 398 deletions

View File

@@ -13,7 +13,7 @@ class PageSkyView : public Page
public:
PageSkyView(CommonData &common) : Page(common)
{
logger->logDebug(GwLog::LOG,"Instantiate PageSkyView");
logger->logDebug(GwLog::LOG, "Instantiate PageSkyView");
}
int handleKey(int key){
@@ -27,11 +27,6 @@ public:
int displayPage(PageData &pageData) {
// Get config data
String flashLED = config->getString(config->flashLED);
String displaycolor = config->getString(config->displaycolor);
String backlightMode = config->getString(config->backlight);
// Optical warning by limit violation (unused)
if(String(flashLED) == "Limit Violation"){
setBlinkingLED(false);