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>
This commit is contained in:
committed by
Damien George
parent
186be074a7
commit
ccda7686a4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user