summaryrefslogtreecommitdiff
path: root/src/SystemTask
diff options
context:
space:
mode:
authorAdam Pigg <adam@piggz.co.uk>2020-07-20 21:28:21 +0100
committerAdam Pigg <adam@piggz.co.uk>2020-07-20 21:28:21 +0100
commit5713eac1045394928de19e76fd00a172f63bffa7 (patch)
treea20e130e01147c4afc89981d7bcfa6773dc6445e /src/SystemTask
parent686e826f4e656546523e989535c74f286a91855b (diff)
Fully implement music app and service
SystemTask can return a reference to the nimbleController The nimbleController can return a reference to the musicService The musicService get a connection handle from the nimbleController The musicApp communicated directly with the musicService
Diffstat (limited to 'src/SystemTask')
-rw-r--r--src/SystemTask/SystemTask.cpp1
-rw-r--r--src/SystemTask/SystemTask.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp
index 39e9751b..a17808f1 100644
--- a/src/SystemTask/SystemTask.cpp
+++ b/src/SystemTask/SystemTask.cpp
@@ -12,6 +12,7 @@
#include <host/util/util.h>
#include <drivers/InternalFlash.h>
#include "../main.h"
+#include "Components/Ble/NimbleController.h"
using namespace Pinetime::System;
diff --git a/src/SystemTask/SystemTask.h b/src/SystemTask/SystemTask.h
index 5a51a776..0d8b87f6 100644
--- a/src/SystemTask/SystemTask.h
+++ b/src/SystemTask/SystemTask.h
@@ -8,9 +8,10 @@
#include <Components/Battery/BatteryController.h>
#include <DisplayApp/DisplayApp.h>
#include <drivers/Watchdog.h>
-#include <Components/Ble/NimbleController.h>
#include <drivers/SpiNorFlash.h>
#include "SystemMonitor.h"
+#include "Components/Ble/NimbleController.h"
+#include "timers.h"
namespace Pinetime {
namespace System {