diff options
| author | David Lechner <david@pybricks.com> | 2022-07-01 15:51:12 -0500 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-07-18 13:50:35 +1000 |
| commit | ccda7686a436f4d172325cce1fbf1d49165e31fd (patch) | |
| tree | 330542b529be9ce3d3a181b5c1a2bad830c56c27 /ports/zephyr/modbluetooth_zephyr.c | |
| parent | 186be074a7e5ac7a78da2fa78aa4cacca7a3fe89 (diff) | |
zephyr: Use MP_REGISTER_ROOT_POINTER().
This uses MP_REGISTER_ROOT_POINTER() to register port-specific root
pointers for the zephyr port.
Signed-off-by: David Lechner <david@pybricks.com>
Diffstat (limited to 'ports/zephyr/modbluetooth_zephyr.c')
| -rw-r--r-- | ports/zephyr/modbluetooth_zephyr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/zephyr/modbluetooth_zephyr.c b/ports/zephyr/modbluetooth_zephyr.c index ba13064f3..4d4b19a1d 100644 --- a/ports/zephyr/modbluetooth_zephyr.c +++ b/ports/zephyr/modbluetooth_zephyr.c @@ -418,4 +418,6 @@ int mp_bluetooth_gap_peripheral_connect_cancel(void) { #endif // MICROPY_PY_BLUETOOTH_ENABLE_CENTRAL_MODE +MP_REGISTER_ROOT_POINTER(struct _mp_bluetooth_zephyr_root_pointers_t *bluetooth_zephyr_root_pointers); + #endif // MICROPY_PY_BLUETOOTH |
