diff options
| author | Michele Bini <michele.bini@gmail.com> | 2022-04-10 13:50:02 (GMT) |
|---|---|---|
| committer | Michele Bini <michele.bini@gmail.com> | 2022-04-10 14:07:49 (GMT) |
| commit | 34a6369f793bb36a3f66eba87535159819c65f2b (patch) | |
| tree | 65e206128ee042de8372d915966c8981246be9fb /src/displayapp/DisplayApp.cpp | |
| parent | 4d8a0d3300345b71dcbd7e86d1e7c4cfcc3cf200 (diff) | |
Add jumpscore app
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
| -rw-r--r-- | src/displayapp/DisplayApp.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp index 990e469..9c0af35 100644 --- a/src/displayapp/DisplayApp.cpp +++ b/src/displayapp/DisplayApp.cpp @@ -1,6 +1,7 @@ #include "displayapp/DisplayApp.h" #include <libraries/log/nrf_log.h> #include "displayapp/screens/HeartRate.h" +#include "displayapp/screens/Jumpscore.h" #include "displayapp/screens/Motion.h" #include "displayapp/screens/Timer.h" #include "displayapp/screens/Alarm.h" @@ -483,6 +484,9 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction) case Apps::Motion: currentScreen = std::make_unique<Screens::Motion>(this, motionController); break; + case Apps::Jumpscore: + currentScreen = std::make_unique<Screens::Jumpscore>(this, *systemTask, motionController, motorController); + break; case Apps::Steps: currentScreen = std::make_unique<Screens::Steps>(this, motionController, settingsController); break; |
