stm32/mpbthciport: Change from systick to soft-timer for BT scheduling.

Instead of using systick the BT subsystem is now scheduled using a soft
timer.  This means it is scheduled only when it is enabled.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-05-12 17:18:22 +10:00
parent 60f1f76984
commit 74c2c31811
7 changed files with 111 additions and 39 deletions

View File

@@ -37,9 +37,6 @@ enum {
#if MICROPY_PY_NETWORK && MICROPY_PY_LWIP
SYSTICK_DISPATCH_LWIP,
#endif
#if MICROPY_PY_BLUETOOTH
SYSTICK_DISPATCH_BLUETOOTH_HCI,
#endif
SYSTICK_DISPATCH_MAX
};