Skip to content

Commit

Permalink
!!!WIP!!!
Browse files Browse the repository at this point in the history
Signed-off-by: simonmicro <[email protected]>
  • Loading branch information
simonmicro committed Aug 11, 2024
1 parent 8000970 commit 531b0ee
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@

// get global variables (make sure to NOT include any headers after the "using" statements!)
#include "globals.h"
#include <apps/tests/OswAppTestProgressWidget.h>
using OswGlobals::main_mainDrawer;
using OswGlobals::main_tutorialApp;

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 531b0ee

Please sign in to comment.