Fix recovery DisplayApp.

This commit is contained in:
Jean-François Milants 2021-05-21 11:56:50 +02:00
parent 7c9513be8a
commit f88c0f41fa
2 changed files with 7 additions and 4 deletions

View File

@ -17,9 +17,10 @@ DisplayApp::DisplayApp(Drivers::St7789& lcd,
System::SystemTask& systemTask, System::SystemTask& systemTask,
Pinetime::Controllers::NotificationManager& notificationManager, Pinetime::Controllers::NotificationManager& notificationManager,
Pinetime::Controllers::HeartRateController& heartRateController, Pinetime::Controllers::HeartRateController& heartRateController,
Pinetime::Controllers::Settings& settingsController, Controllers::Settings& settingsController,
Pinetime::Controllers::MotorController& motorController, Pinetime::Controllers::MotorController& motorController,
Pinetime::Controllers::MotionController& motionController) Pinetime::Controllers::MotionController& motionController,
Pinetime::Controllers::TimerController& timerController)
: lcd {lcd}, bleController {bleController} { : lcd {lcd}, bleController {bleController} {
msgQueue = xQueueCreate(queueSize, itemSize); msgQueue = xQueueCreate(queueSize, itemSize);
} }

View File

@ -23,6 +23,7 @@
#include "Apps.h" #include "Apps.h"
#include "Messages.h" #include "Messages.h"
#include "DummyLittleVgl.h" #include "DummyLittleVgl.h"
#include "components/timer/TimerController.h"
namespace Pinetime { namespace Pinetime {
namespace System { namespace System {
@ -41,9 +42,10 @@ namespace Pinetime {
System::SystemTask& systemTask, System::SystemTask& systemTask,
Pinetime::Controllers::NotificationManager& notificationManager, Pinetime::Controllers::NotificationManager& notificationManager,
Pinetime::Controllers::HeartRateController& heartRateController, Pinetime::Controllers::HeartRateController& heartRateController,
Pinetime::Controllers::Settings& settingsController, Controllers::Settings& settingsController,
Pinetime::Controllers::MotorController& motorController, Pinetime::Controllers::MotorController& motorController,
Pinetime::Controllers::MotionController& motionController); Pinetime::Controllers::MotionController& motionController,
Pinetime::Controllers::TimerController& timerController);
void Start(); void Start();
void PushMessage(Pinetime::Applications::Display::Messages msg); void PushMessage(Pinetime::Applications::Display::Messages msg);