diff options
| author | JF <jf@codingfield.com> | 2020-05-11 18:50:37 +0200 |
|---|---|---|
| committer | JF <jf@codingfield.com> | 2020-05-11 18:50:37 +0200 |
| commit | ee05577dd62c64d0e6a2e497b75710c7a1351557 (patch) | |
| tree | 36d36462bd1c3aaa06df46b0bf6086111c83df2b /src/Components/Ble/NimbleController.cpp | |
| parent | 0b8e6c3fa20457bce931b1d289f187e46fc68307 (diff) | |
Fix race conditions on SPI and integrate the SPI NOR Flash driver into DFUService (WIP)
Diffstat (limited to 'src/Components/Ble/NimbleController.cpp')
| -rw-r--r-- | src/Components/Ble/NimbleController.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Components/Ble/NimbleController.cpp b/src/Components/Ble/NimbleController.cpp index 1175022e..d2ee4801 100644 --- a/src/Components/Ble/NimbleController.cpp +++ b/src/Components/Ble/NimbleController.cpp @@ -24,12 +24,14 @@ using namespace Pinetime::Controllers; NimbleController::NimbleController(Pinetime::System::SystemTask& systemTask, Pinetime::Controllers::Ble& bleController, DateTime& dateTimeController, - Pinetime::Controllers::NotificationManager& notificationManager) : + Pinetime::Controllers::NotificationManager& notificationManager, + Pinetime::Drivers::SpiNorFlash& spiNorFlash) : systemTask{systemTask}, bleController{bleController}, dateTimeController{dateTimeController}, notificationManager{notificationManager}, - dfuService{systemTask, bleController}, + spiNorFlash{spiNorFlash}, + dfuService{systemTask, bleController, spiNorFlash}, currentTimeClient{dateTimeController}, alertNotificationClient{systemTask, notificationManager} { |
