Oprava rozsveceni displeje
This commit is contained in:
parent
6d01e70592
commit
0106c9ca33
@ -311,8 +311,14 @@ int OLEDUIPlus::extendOn(void)
|
||||
if (false == _displayon) {
|
||||
if (_oledon != nullptr)
|
||||
_oledon();
|
||||
if (_haveOnOffOverlay)
|
||||
if (_haveOnOffOverlay) {
|
||||
startAnim(1);
|
||||
} else {
|
||||
#if defined(OLED_REAL_OFF)
|
||||
_oled->displayOn();
|
||||
#endif
|
||||
_displayon = true;
|
||||
}
|
||||
retval = 1; // musime rozsvitit displej
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user