Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit cd563c0d authored by Zach Johnson's avatar Zach Johnson Committed by Andre Eisenbach
Browse files

Remove dead code checks for BLE support

On some build configurations (looking at you, hammerhead) the controller
hasn't come up before BTU init stuff happens.

These BLE support checks were triggering the assert that ensures the
controller module has loaded when you try to access it.

However, these BLE support checks were dead code because the outcome was
the same regardless in either case (returning from the function). Removed.

It's a good thing these asserts were in place, because if these checks
were actually important to the correctness of the code we'd be reading
bad state (BLE supported would always be false during this stage) and
we would have no idea. Yay asserts!
parent 808dec1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment