diff --git a/src/OLEDUIPlus.cpp b/src/OLEDUIPlus.cpp index 5e4d644..6b1b0d5 100644 --- a/src/OLEDUIPlus.cpp +++ b/src/OLEDUIPlus.cpp @@ -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 } }