diff options
Diffstat (limited to 'src/drivers/bluetooth.cpp')
| -rw-r--r-- | src/drivers/bluetooth.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/bluetooth.cpp b/src/drivers/bluetooth.cpp index f266b51c..1a303748 100644 --- a/src/drivers/bluetooth.cpp +++ b/src/drivers/bluetooth.cpp @@ -86,7 +86,9 @@ auto Bluetooth::Enable() -> bool { } auto Bluetooth::Disable() -> void { - auto lock = bluetooth::BluetoothState::lock(); + // FIXME: the BT tasks unfortunately call back into us while holding an + // internal lock, which then deadlocks with our fsm lock. + // auto lock = bluetooth::BluetoothState::lock(); tinyfsm::FsmList<bluetooth::BluetoothState>::dispatch( bluetooth::events::Disable{}); } |
