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) {
107
107
}
108
108
109
109
110
- void bleio_background (void ) {
110
+ void bleio_hci_background (void ) {
111
111
bleio_adapter_background (& common_hal_bleio_adapter_obj );
112
112
}
Original file line number Diff line number Diff line change 34
34
#include "att.h"
35
35
#include "hci.h"
36
36
37
- void bleio_background (void );
37
+ void bleio_hci_background (void );
38
38
void bleio_reset (void );
39
39
40
40
typedef struct {
Original file line number Diff line number Diff line change 37
37
#include "supervisor/shared/autoreload.h"
38
38
#include "supervisor/shared/stack.h"
39
39
40
+ #if CIRCUITPY_BLEIO_HCI
41
+ #include "common-hal/_bleio/__init__.h"
42
+ #endif
43
+
40
44
#if CIRCUITPY_DISPLAYIO
41
45
#include "shared-module/displayio/__init__.h"
42
46
#endif
@@ -69,6 +73,10 @@ static void supervisor_background_tasks(void *unused) {
69
73
70
74
assert_heap_ok ();
71
75
76
+ #if CIRCUITPY_BLEIO_HCI
77
+ bleio_hci_background ();
78
+ #endif
79
+
72
80
#if CIRCUITPY_DISPLAYIO
73
81
displayio_background ();
74
82
#endif
You can’t perform that action at this time.
0 commit comments