diff options
| author | Adam Pigg <adam@piggz.co.uk> | 2020-07-20 20:28:21 (GMT) |
|---|---|---|
| committer | Adam Pigg <adam@piggz.co.uk> | 2020-07-20 20:28:21 (GMT) |
| commit | 5713eac1045394928de19e76fd00a172f63bffa7 (patch) | |
| tree | a20e130e01147c4afc89981d7bcfa6773dc6445e /src/SystemTask | |
| parent | 686e826f4e656546523e989535c74f286a91855b (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.cpp | 1 | ||||
| -rw-r--r-- | src/SystemTask/SystemTask.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/SystemTask/SystemTask.cpp b/src/SystemTask/SystemTask.cpp index 39e9751..a17808f 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 5a51a77..0d8b87f 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 { |
