Resolved C++14 Cmake build issues so correctly building to C99/C++14 standards
This commit is contained in:
parent
ada9425357
commit
14bd790701
4 changed files with 16 additions and 23 deletions
|
|
@ -24,6 +24,8 @@
|
|||
#include "drivers/Hrs3300.h"
|
||||
#include "main.h"
|
||||
|
||||
#include <memory>
|
||||
|
||||
using namespace Pinetime::System;
|
||||
|
||||
void IdleTimerCallback(TimerHandle_t xTimer) {
|
||||
|
|
@ -82,9 +84,9 @@ void SystemTask::Work() {
|
|||
motorController.Init();
|
||||
|
||||
|
||||
displayApp.reset(new Pinetime::Applications::DisplayApp(lcd, lvgl, touchPanel, batteryController, bleController,
|
||||
displayApp = std::make_unique<Pinetime::Applications::DisplayApp>(lcd, lvgl, touchPanel, batteryController, bleController,
|
||||
dateTimeController, watchdogView, *this, notificationManager,
|
||||
heartRateController));
|
||||
heartRateController);
|
||||
displayApp->Start();
|
||||
|
||||
batteryController.Update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue