summaryrefslogtreecommitdiff
path: root/src/components/ble/DfuService.cpp
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-12 03:11:16 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-12 03:11:16 (GMT)
commit502dfad3d3dd062b37722ea65ec42908139b2e17 (patch)
tree334dbd66e0e074a5d8f47423702d3e0cd2fa1731 /src/components/ble/DfuService.cpp
parentadc82f138237b17797f695aa6e272188ccb3fb15 (diff)
Fixed screen brightness, no sleep or wake up
Diffstat (limited to 'src/components/ble/DfuService.cpp')
-rw-r--r--src/components/ble/DfuService.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/components/ble/DfuService.cpp b/src/components/ble/DfuService.cpp
index cf99f01..51e9e5d 100644
--- a/src/components/ble/DfuService.cpp
+++ b/src/components/ble/DfuService.cpp
@@ -122,11 +122,6 @@ int DfuService::WritePacketHandler(uint16_t connectionHandle, os_mbuf* om) {
NRF_LOG_INFO(
"[DFU] -> Start data received : SD size : %d, BT size : %d, app size : %d", softdeviceSize, bootloaderSize, applicationSize);
- // wait until SystemTask has finished waking up all devices
- while (systemTask.IsSleeping()) {
- vTaskDelay(50); // 50ms
- }
-
dfuImage.Erase();
uint8_t data[] {16, 1, 1};