From 531b0ee48747bc203b5dd6ffbdacd58d3ec298f8 Mon Sep 17 00:00:00 2001 From: simonmicro Date: Sun, 11 Aug 2024 14:53:37 +0200 Subject: [PATCH] !!!WIP!!! Signed-off-by: simonmicro --- src/main.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index edb497e4b..8737fabf8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -87,6 +87,7 @@ // get global variables (make sure to NOT include any headers after the "using" statements!) #include "globals.h" +#include using OswGlobals::main_mainDrawer; using OswGlobals::main_tutorialApp; @@ -132,10 +133,12 @@ void setup() { } // Install drawer and (maybe) jump into tutorial - OswUI::getInstance()->setRootApplication(&main_mainDrawer); - main_tutorialApp.reset(new OswAppTutorial()); - if(!main_tutorialApp->changeRootAppIfNecessary()) - main_tutorialApp.reset(); // no need to keep it around, as it's not the root app +// OswUI::getInstance()->setRootApplication(&main_mainDrawer); +// main_tutorialApp.reset(new OswAppTutorial()); +// if(!main_tutorialApp->changeRootAppIfNecessary()) +// main_tutorialApp.reset(); // no need to keep it around, as it's not the root app + static OswAppTestProgressWidget test; + OswUI::getInstance()->setRootApplication(&test); #if USE_ULP == 1 // register the ULP program