summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-31 14:04:15 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-31 14:05:14 (GMT)
commitef816addbc85b4447d9f304d218d8430aef473fd (patch)
tree48eab529009bbfaad6a30fc9bd22e84f97713201 /src/displayapp/DisplayApp.cpp
parent92ce5ee9751f01dc63330ad25910c674420cd984 (diff)
Add back motion app
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index 30b86ed..223b150 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/Timer.h"
+#include "displayapp/screens/Motion.h"
#include "displayapp/screens/Alarm.h"
#include "components/battery/BatteryController.h"
#include "components/ble/BleController.h"
@@ -387,6 +388,9 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
case Apps::StopWatch:
currentScreen = std::make_unique<Screens::StopWatch>(this, *systemTask);
break;
+ case Apps::Motion:
+ currentScreen = std::make_unique<Screens::Motion>(this, motionController);
+ break;
}
currentApp = app;
}