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
This commit is contained in:
Adam Pigg
2020-07-20 21:28:21 +01:00
parent 686e826f4e
commit 5713eac104
8 changed files with 61 additions and 20 deletions

View File

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

View File

@@ -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 {