LVGL drawing

This commit is contained in:
Raphael Coeffic
2022-06-11 15:38:08 +02:00
committed by Raphael Coeffic
parent 655e20a774
commit 0cd6c9d710
5 changed files with 60 additions and 57 deletions
+2 -2
View File
@@ -524,8 +524,6 @@ void OpenTxSim::refreshDisplay()
if ((bool(isBacklightEnabled()) != lightEnabled) || simuLcdRefresh) {
simuLcdRefresh = false;
if (bool(isBacklightEnabled()) != lightEnabled) {
lightEnabled = (bool)isBacklightEnabled();
TRACE("backlight %s", lightEnabled ? "ON" : "OFF");
@@ -575,6 +573,8 @@ void OpenTxSim::refreshDisplay()
bmp->render();
bmf->setImage(bmp);
simuLcdRefresh = false;
}
}