diff options
| author | JF <jf@codingfield.com> | 2020-04-19 19:26:09 (GMT) |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-04-19 19:26:09 (GMT) |
| commit | 2c9ce1cfc7d4c733b1b35f51a1f6f5da332cf3fa (patch) | |
| tree | 81a915bf58eb15a7a7fccea1209a3d1081be8074 /src/SystemTask/SystemTask.h | |
| parent | dd6aecbf6b343e40f75808f5e26a077eb22a2ed2 (diff) | |
Encapsulate nimble code into NimbleController.
Handle all GAP events.
Diffstat (limited to 'src/SystemTask/SystemTask.h')
| -rw-r--r-- | src/SystemTask/SystemTask.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/SystemTask/SystemTask.h b/src/SystemTask/SystemTask.h index a1ba277..5eba391 100644 --- a/src/SystemTask/SystemTask.h +++ b/src/SystemTask/SystemTask.h @@ -8,6 +8,7 @@ #include <Components/Battery/BatteryController.h> #include <DisplayApp/DisplayApp.h> #include <drivers/Watchdog.h> +#include <Components/Ble/NimbleController.h> namespace Pinetime { namespace System { @@ -44,6 +45,7 @@ namespace Pinetime { Pinetime::Drivers::Watchdog watchdog; Pinetime::Drivers::WatchdogView watchdogView; Pinetime::Controllers::NotificationManager& notificationManager; + Pinetime::Controllers::NimbleController nimbleController; static constexpr uint8_t pinSpiSck = 2; |
