Merge pull request #5683 from dhalbert/restore-bleio-hci-background
restore BLEIO HCI background task
This commit is contained in:
commit
bf08f62d37
@ -107,6 +107,6 @@ void common_hal_bleio_gc_collect(void) {
|
||||
}
|
||||
|
||||
|
||||
void bleio_background(void) {
|
||||
void bleio_hci_background(void) {
|
||||
bleio_adapter_background(&common_hal_bleio_adapter_obj);
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "att.h"
|
||||
#include "hci.h"
|
||||
|
||||
void bleio_background(void);
|
||||
void bleio_hci_background(void);
|
||||
void bleio_reset(void);
|
||||
|
||||
typedef struct {
|
||||
|
@ -20,6 +20,7 @@ LD_FILE = boards/STM32F401xd_fs.ld
|
||||
CIRCUITPY_AESIO = 0
|
||||
CIRCUITPY_AUDIOCORE = 0
|
||||
CIRCUITPY_AUDIOPWMIO = 0
|
||||
CIRCUITPY_BLEIO_HCI = 0
|
||||
CIRCUITPY_BUSDEVICE = 0
|
||||
CIRCUITPY_BITMAPTOOLS = 0
|
||||
CIRCUITPY_FRAMEBUFFERIO = 0
|
||||
|
@ -17,6 +17,7 @@ LD_FILE = boards/STM32F411_fs.ld
|
||||
CIRCUITPY_AUDIOCORE = 0
|
||||
CIRCUITPY_AUDIOPWMIO = 0
|
||||
CIRCUITPY_BITMAPTOOLS = 0
|
||||
CIRCUITPY_BLEIO_HCI = 0
|
||||
CIRCUITPY_BUSDEVICE = 0
|
||||
CIRCUITPY_GIFIO = 0
|
||||
CIRCUITPY_KEYPAD = 0
|
||||
|
@ -15,8 +15,7 @@ LD_FILE = boards/STM32F411_fs.ld
|
||||
# Too big for the flash
|
||||
CIRCUITPY_AUDIOCORE = 0
|
||||
CIRCUITPY_AUDIOPWMIO = 0
|
||||
CIRCUITPY_KEYPAD = 0
|
||||
CIRCUITPY_MIDI = 0
|
||||
CIRCUITPY_MSGPACK = 0
|
||||
CIRCUITPY_BITMAPTOOLS = 0
|
||||
CIRCUITPY_BLEIO_HCI = 0
|
||||
CIRCUITPY_MSGPACK = 0
|
||||
CIRCUITPY_VECTORIO = 0
|
||||
|
@ -37,6 +37,10 @@
|
||||
#include "supervisor/shared/autoreload.h"
|
||||
#include "supervisor/shared/stack.h"
|
||||
|
||||
#if CIRCUITPY_BLEIO_HCI
|
||||
#include "common-hal/_bleio/__init__.h"
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_DISPLAYIO
|
||||
#include "shared-module/displayio/__init__.h"
|
||||
#endif
|
||||
@ -69,6 +73,10 @@ static void supervisor_background_tasks(void *unused) {
|
||||
|
||||
assert_heap_ok();
|
||||
|
||||
#if CIRCUITPY_BLEIO_HCI
|
||||
bleio_hci_background();
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_DISPLAYIO
|
||||
displayio_background();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user