summaryrefslogtreecommitdiff
path: root/src/Components
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-05-07 19:53:51 +0200
committerJF <jf@codingfield.com>2020-05-07 19:53:51 +0200
commit0b8e6c3fa20457bce931b1d289f187e46fc68307 (patch)
tree5c2f7ba6c10e380eaa60c2ce15e65637535c8178 /src/Components
parentf96c048debc84bf2ccd10c4e7356e8e20df9bb3a (diff)
Add SPI NOR Flash driver, WIP.
Diffstat (limited to 'src/Components')
-rw-r--r--src/Components/Ble/NimbleController.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Components/Ble/NimbleController.cpp b/src/Components/Ble/NimbleController.cpp
index 23bd3e2f..1175022e 100644
--- a/src/Components/Ble/NimbleController.cpp
+++ b/src/Components/Ble/NimbleController.cpp
@@ -122,14 +122,14 @@ void NimbleController::StartAdvertising() {
int res;
res = ble_gap_adv_set_fields(&fields);
- ASSERT(res == 0);
+// ASSERT(res == 0); // TODO this one sometimes fails with error 22 (notsync)
res = ble_gap_adv_rsp_set_fields(&rsp_fields);
- ASSERT(res == 0);
+// ASSERT(res == 0);
res = ble_gap_adv_start(addrType, NULL, 10000,
&adv_params, GAPEventCallback, this);
- ASSERT(res == 0);
+// ASSERT(res == 0);
}
int OnAllSvrDisco(uint16_t conn_handle,