Resolved C++14 Cmake build issues so correctly building to C99/C++14 standards

This commit is contained in:
Niall Cooling
2021-03-16 12:43:50 +00:00
parent ada9425357
commit 14bd790701
4 changed files with 16 additions and 23 deletions

View File

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