Update to latest libopenui

This commit is contained in:
Bertrand Songis
2020-12-04 16:37:42 +01:00
parent edd16a4b85
commit 0f87115dc4
9 changed files with 15 additions and 14 deletions
+2 -1
View File
@@ -1902,6 +1902,7 @@ void opentxInit()
TRACE("opentxInit");
#if defined(LIBOPENUI)
new MainWindow();
new ViewMain();
#elif defined(GUI)
// TODO add a function for this (duplicated)
@@ -2260,7 +2261,7 @@ uint32_t pwrCheck()
else {
#if defined(COLORLCD)
if (pwr_press_time != 0)
mainWindow.invalidate();
MainWindow::instance()->invalidate();
#endif
pwr_check_state = PWR_CHECK_ON;
pwr_press_time = 0;