Cleanup
This commit is contained in:
committed by
Raphael Coeffic
parent
4fc2a2ee5d
commit
e75ec459f1
@@ -154,11 +154,6 @@ void FullScreenDialog::runForever()
|
|||||||
{
|
{
|
||||||
running = true;
|
running = true;
|
||||||
|
|
||||||
// MainWindow* mainWin = MainWindow::instance();
|
|
||||||
// #if defined(HARDWARE_TOUCH)
|
|
||||||
// mainWin->setTouchEnabled(true);
|
|
||||||
// #endif
|
|
||||||
|
|
||||||
// reset input devices to avoid
|
// reset input devices to avoid
|
||||||
// RELEASED/CLICKED to be called in a loop
|
// RELEASED/CLICKED to be called in a loop
|
||||||
lv_indev_reset(nullptr, nullptr);
|
lv_indev_reset(nullptr, nullptr);
|
||||||
@@ -187,11 +182,6 @@ void FullScreenDialog::runForever()
|
|||||||
void FullScreenDialog::runForeverNoPwrCheck()
|
void FullScreenDialog::runForeverNoPwrCheck()
|
||||||
{
|
{
|
||||||
running = true;
|
running = true;
|
||||||
|
|
||||||
// MainWindow* mainWin = MainWindow::instance();
|
|
||||||
// #if defined(HARDWARE_TOUCH)
|
|
||||||
// mainWin->setTouchEnabled(true);
|
|
||||||
// #endif
|
|
||||||
while (running) {
|
while (running) {
|
||||||
resetBacklightTimeout();
|
resetBacklightTimeout();
|
||||||
run_ui_manually();
|
run_ui_manually();
|
||||||
|
|||||||
@@ -373,12 +373,6 @@ void guiMain(event_t evt)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO: use lv_indev_enable(touchDriver, true / false) instead
|
|
||||||
// #if defined(HARDWARE_TOUCH)
|
|
||||||
// MainWindow* mainWin = MainWindow::instance();
|
|
||||||
// mainWin->setTouchEnabled(!isFunctionActive(FUNCTION_DISABLE_TOUCH) &&
|
|
||||||
// isBacklightEnabled());
|
|
||||||
// #endif
|
|
||||||
LvglWrapper::instance()->run();
|
LvglWrapper::instance()->run();
|
||||||
MainWindow::instance()->run();
|
MainWindow::instance()->run();
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
Submodule radio/src/thirdparty/libopenui updated: 2a699f960b...cebdab0c29
Reference in New Issue
Block a user