diff options
| author | David Lechner <david@pybricks.com> | 2022-07-01 14:18:09 -0500 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-18 13:49:51 +1000 |
| commit | 8fa6191f955c81678ac4ec3b45f92a72c641f0b1 (patch) | |
| tree | 01655138d7720da55bd623ec11d0b773d7a77b05 /extmod/btstack | |
| parent | ac86e8449afebdef38b02af7acfc0ed535db9d94 (diff) | |
extmod/btstack: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register
bluetooth_btstack_root_pointers and removes the same from all
mpconfigport.h.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'extmod/btstack')
| -rw-r--r-- | extmod/btstack/modbluetooth_btstack.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extmod/btstack/modbluetooth_btstack.c b/extmod/btstack/modbluetooth_btstack.c index e56e488b1..c07cc8c10 100644 --- a/extmod/btstack/modbluetooth_btstack.c +++ b/extmod/btstack/modbluetooth_btstack.c @@ -1460,4 +1460,6 @@ int mp_bluetooth_l2cap_recvinto(uint16_t conn_handle, uint16_t cid, uint8_t *buf #endif // MICROPY_PY_BLUETOOTH_ENABLE_L2CAP_CHANNELS +MP_REGISTER_ROOT_POINTER(struct _mp_bluetooth_btstack_root_pointers_t *bluetooth_btstack_root_pointers); + #endif // MICROPY_PY_BLUETOOTH && MICROPY_BLUETOOTH_BTSTACK |
