Fix for config.json, depensencies to other ode

This commit is contained in:
norbert-walter 2025-01-24 22:18:38 +01:00
parent cf7ef8d849
commit f116e41964
2 changed files with 5 additions and 4 deletions

View File

@ -166,7 +166,7 @@ void deepSleep(CommonData &common){
getdisplay().print("Sleep Mode");
getdisplay().setFont(&Ubuntu_Bold8pt7b);
getdisplay().setCursor(65, 175);
getdisplay().print("For wakeup press wheel and wait 5s");
getdisplay().print("to wake up press wheel and wait 5s");
getdisplay().nextPage(); // Partial update
getdisplay().powerOff(); // Display power off
setPortPin(OBP_POWER_EPD, false); // Power off ePaper display

View File

@ -415,7 +415,8 @@ void OBP60Task(GwApi *api){
String fastrefresh = api->getConfig()->getConfigItem(api->getConfig()->fastRefresh,true)->asString();
uint fullrefreshtime = uint(api->getConfig()->getConfigItem(api->getConfig()->fullRefreshTime,true)->asInt());
#ifdef BOARD_OBP40S3
bool syspage_enabled = config->getBool(config->systemPage);
// bool syspage_enabled = config->getBool(config->systemPage);
bool syspage_enabled = false;
#endif
#ifdef DISPLAY_GDEY042T81