Update to latest libopenui
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user