Run the alert notification service and simplify trhe pinetime service

initialization
This commit is contained in:
Adam Pigg
2020-04-28 18:39:26 +01:00
parent 49a9a93cef
commit d33be52bc9
5 changed files with 20 additions and 18 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include <cstdint>
#include "AlertNotificationService.h"
#include "AlertNotificationClient.h"
#include "DeviceInformationService.h"
#include "CurrentTimeClient.h"
@@ -35,8 +36,10 @@ namespace Pinetime {
DeviceInformationService deviceInformationService;
CurrentTimeClient currentTimeClient;
AlertNotificationService anService;
AlertNotificationClient alertNotificationClient;
PinetimeService pinetimeService;
uint8_t addrType;
uint16_t connectionHandle;
};