Fix build issues since Metronome app has been merged.

This commit is contained in:
Jean-François Milants
2021-06-12 15:14:14 +02:00
parent c575754b42
commit d6fcbe960e
2 changed files with 4 additions and 4 deletions

View File

@@ -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);