mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Set AUTO_OFF_MILLIS to 0 for E213, E290
This commit is contained in:
parent
696323c11b
commit
0e62240119
4 changed files with 12 additions and 2 deletions
|
|
@ -90,7 +90,10 @@ void E213Display::powerOff() {
|
|||
|
||||
void E213Display::turnOn() {
|
||||
if (!_init) begin();
|
||||
else if (!_isOn) powerOn();
|
||||
else if (!_isOn) {
|
||||
powerOn();
|
||||
display->fastmodeOn(); // Reinitialize display controller after power was cut
|
||||
}
|
||||
_isOn = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,10 @@ void E290Display::powerOff() {
|
|||
|
||||
void E290Display::turnOn() {
|
||||
if (!_init) begin();
|
||||
else if (!_isOn) powerOn();
|
||||
else if (!_isOn) {
|
||||
powerOn();
|
||||
display.fastmodeOn(); // Reinitialize display controller after power was cut
|
||||
}
|
||||
_isOn = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue