fix: x10 Express boot freeze and bluetooth lockup (#3349)
* Fix attempt for boot issue * fix: reset BT usart context after de-init
This commit is contained in:
@@ -97,6 +97,7 @@ void bluetoothDisable()
|
||||
LL_GPIO_SetOutputPin(BT_EN_GPIO, BT_EN_GPIO_PIN);
|
||||
if (_bt_usart_ctx) {
|
||||
STM32SerialDriver.deinit(_bt_usart_ctx);
|
||||
_bt_usart_ctx = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user