summaryrefslogtreecommitdiff
path: root/ports/nrf/bluetooth
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-01-30 09:52:06 -0500
committerDan Halbert <halbert@halwitz.org>2020-01-30 09:52:06 -0500
commit87f73e2729be3158ea3bb030644cbc42a4913c4c (patch)
treec57fa99165261f2036ed203a7e5a653786c06792 /ports/nrf/bluetooth
parent5b6b4eb326ce2f7beca20ccdc81fdef422e45848 (diff)
track vm_used_ble better
Diffstat (limited to 'ports/nrf/bluetooth')
-rw-r--r--ports/nrf/bluetooth/ble_drv.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/nrf/bluetooth/ble_drv.c b/ports/nrf/bluetooth/ble_drv.c
index 28a265b7f..e410ac3b4 100644
--- a/ports/nrf/bluetooth/ble_drv.c
+++ b/ports/nrf/bluetooth/ble_drv.c
@@ -145,6 +145,9 @@ void SD_EVT_IRQHandler(void) {
ble_drv_evt_handler_entry_t *it = MP_STATE_VM(ble_drv_evt_handler_entries);
bool done = false;
while (it != NULL) {
+ #if CIRCUITPY_VERBOSE_BLE
+ // mp_printf(&mp_plat_print, " calling handler: 0x%08lx, param: 0x%08lx\n", it->func-1, it->param);
+ #endif
done = it->func(event, it->param) || done;
it = it->next;
}