summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorJF002 <JF002@users.noreply.github.com>2021-01-03 13:40:29 (GMT)
committerGitHub <noreply@github.com>2021-01-03 13:40:29 (GMT)
commit033a09db6d3dc515bd32b942809feb5059679cfc (patch)
tree0994e88f94125833d6fc8a3f474acb3daa6f4229 /src/displayapp/DisplayApp.cpp
parente0082f0ae33a809480ee409ccffdd136c13248e4 (diff)
parent12617ed1bf0738970c1ccf32d0b523e6d5999531 (diff)
Merge pull request #154 from jedmijares/twos-game
Adds 2048 clone game
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index 7282319..162d022 100644
--- a/src/displayapp/DisplayApp.cpp
+++ b/src/displayapp/DisplayApp.cpp
@@ -17,6 +17,7 @@
#include "displayapp/screens/Notifications.h"
#include "displayapp/screens/SystemInfo.h"
#include "displayapp/screens/Tile.h"
+#include "displayapp/screens/Twos.h"
#include "drivers/Cst816s.h"
#include "drivers/St7789.h"
#include "drivers/Watchdog.h"
@@ -202,6 +203,7 @@ void DisplayApp::RunningState() {
// case Apps::Test: currentScreen.reset(new Screens::Message(this)); break;
case Apps::SysInfo: currentScreen.reset(new Screens::SystemInfo(this, dateTimeController, batteryController, brightnessController, bleController, watchdog)); break;
case Apps::Meter: currentScreen.reset(new Screens::Meter(this)); break;
+ case Apps::Twos: currentScreen.reset(new Screens::Twos(this)); break;
case Apps::Gauge: currentScreen.reset(new Screens::Gauge(this)); break;
case Apps::Paint: currentScreen.reset(new Screens::InfiniPaint(this, lvgl)); break;
case Apps::Paddle: currentScreen.reset(new Screens::Paddle(this, lvgl)); break;