File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
devices/ble_hci/common-hal/_bleio Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,6 @@ void common_hal_bleio_gc_collect(void) {
107107}
108108
109109
110- void bleio_background (void ) {
110+ void bleio_hci_background (void ) {
111111 bleio_adapter_background (& common_hal_bleio_adapter_obj );
112112}
Original file line number Diff line number Diff line change 3434#include "att.h"
3535#include "hci.h"
3636
37- void bleio_background (void );
37+ void bleio_hci_background (void );
3838void bleio_reset (void );
3939
4040typedef struct {
Original file line number Diff line number Diff line change 3737#include "supervisor/shared/autoreload.h"
3838#include "supervisor/shared/stack.h"
3939
40+ #if CIRCUITPY_BLEIO_HCI
41+ #include "common-hal/_bleio/__init__.h"
42+ #endif
43+
4044#if CIRCUITPY_DISPLAYIO
4145#include "shared-module/displayio/__init__.h"
4246#endif
@@ -69,6 +73,10 @@ static void supervisor_background_tasks(void *unused) {
6973
7074 assert_heap_ok ();
7175
76+ #if CIRCUITPY_BLEIO_HCI
77+ bleio_hci_background ();
78+ #endif
79+
7280 #if CIRCUITPY_DISPLAYIO
7381 displayio_background ();
7482 #endif
You can’t perform that action at this time.
0 commit comments