Fix DisplayAppRecovery : add AlarmController to ctor().

This commit is contained in:
Jean-François Milants 2021-09-18 17:20:33 +02:00
parent 9cd0def361
commit 7af7db74cd
2 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,7 @@ DisplayApp::DisplayApp(Drivers::St7789& lcd,
Pinetime::Controllers::MotorController& motorController,
Pinetime::Controllers::MotionController& motionController,
Pinetime::Controllers::TimerController& timerController,
Pinetime::Controllers::AlarmController& alarmController,
Pinetime::Controllers::TouchHandler& touchHandler)
: lcd {lcd}, bleController {bleController} {

View File

@ -32,6 +32,7 @@ namespace Pinetime {
class TouchHandler;
class MotorController;
class TimerController;
class AlarmController;
}
namespace System {
@ -54,6 +55,7 @@ namespace Pinetime {
Pinetime::Controllers::MotorController& motorController,
Pinetime::Controllers::MotionController& motionController,
Pinetime::Controllers::TimerController& timerController,
Pinetime::Controllers::AlarmController& alarmController,
Pinetime::Controllers::TouchHandler& touchHandler);
void Start();
void PushMessage(Pinetime::Applications::Display::Messages msg);