extmod/btstack: Implement more robust init/deinit sequencing.

This commit is contained in:
Jim Mussared
2020-04-07 15:01:26 +10:00
committed by Damien George
parent 50e44f477b
commit c987adb9e9
2 changed files with 73 additions and 7 deletions

View File

@@ -52,6 +52,7 @@ enum {
MP_BLUETOOTH_BTSTACK_STATE_OFF,
MP_BLUETOOTH_BTSTACK_STATE_STARTING,
MP_BLUETOOTH_BTSTACK_STATE_ACTIVE,
MP_BLUETOOTH_BTSTACK_STATE_TIMEOUT,
};
extern volatile int mp_bluetooth_btstack_state;