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,
Pinetime::Controllers::NotificationManager& notificationManager,
Pinetime::Controllers::HeartRateController& heartRateController,
Pinetime::Controllers::Settings& settingsController,
Controllers::Settings& settingsController,
Pinetime::Controllers::MotorController& motorController,
Pinetime::Controllers::MotionController& motionController)
Pinetime::Controllers::MotionController& motionController,
Pinetime::Controllers::TimerController& timerController)
: lcd {lcd}, bleController {bleController} {
msgQueue = xQueueCreate(queueSize, itemSize);
}

View file

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