summaryrefslogtreecommitdiff
path: root/src/displayapp/DisplayApp.cpp
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-06-12 15:14:14 +0200
committerJean-François Milants <jf@codingfield.com>2021-06-12 15:14:14 +0200
commitd6fcbe960e595e53e3f24cbaae0cbb0505ad6dc2 (patch)
treed53a0c8232698f27a53e76c94c139fd6b7156e45 /src/displayapp/DisplayApp.cpp
parentc575754b4283ab1e8a2b1320a97992db6712ac58 (diff)
Fix build issues since Metronome app has been merged.
Diffstat (limited to 'src/displayapp/DisplayApp.cpp')
-rw-r--r--src/displayapp/DisplayApp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/DisplayApp.cpp b/src/displayapp/DisplayApp.cpp
index cd25c979..ab73969d 100644
--- a/src/displayapp/DisplayApp.cpp
+++ b/src/displayapp/DisplayApp.cpp
@@ -358,7 +358,7 @@ void DisplayApp::LoadApp(Apps app, DisplayApp::FullRefreshDirections direction)
currentScreen = std::make_unique<Screens::HeartRate>(this, heartRateController, *systemTask);
break;
case Apps::Metronome:
- currentScreen = std::make_unique<Screens::Metronome>(this, motorController, systemTask);
+ currentScreen = std::make_unique<Screens::Metronome>(this, motorController, *systemTask);
break;
case Apps::Motion:
currentScreen = std::make_unique<Screens::Motion>(this, motionController);