mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-26 04:37:14 +02:00
fix wakeup issue, once wifi was lost during night the communication didn't start in the morning
reenabled FlashStringHelper because of lacking RAM complete rewrite of monochrome display class, thx to @dAjaY85 -> displays are now configurable in setup
This commit is contained in:
parent
76b5818f48
commit
2b3f252bbf
17 changed files with 385 additions and 483 deletions
|
@ -562,6 +562,17 @@ class Web {
|
|||
// Needed to log TX buffers to serial console
|
||||
mSys->Radio.mSerialDebug = mConfig->serial.debug;
|
||||
}
|
||||
|
||||
// display
|
||||
mConfig->plugin.display.pwrSaveAtIvOffline = (request->arg("dispPwr") == "on");
|
||||
mConfig->plugin.display.logoEn = (request->arg("logoEn") == "on");
|
||||
mConfig->plugin.display.pxShift = (request->arg("dispPxSh") == "on");
|
||||
mConfig->plugin.display.type = request->arg("dispType").toInt();
|
||||
mConfig->plugin.display.contrast = request->arg("dispCont").toInt();
|
||||
mConfig->plugin.display.pin0 = request->arg("pinDisp0").toInt();
|
||||
mConfig->plugin.display.pin1 = request->arg("pinDisp1").toInt();
|
||||
|
||||
|
||||
mApp->saveSettings();
|
||||
|
||||
if(request->arg("reboot") == "on")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue