Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bluetooth: nordic ECB hal: Bugfix for simulation
Fix in the do_ecb() function In real HW this function busy waits for the ECB to be done. In simulation with the POSIX arch a WFE was added to avoid that infinite loop. But this function is called with the ECB interrupts disabled. In normal builds other interrupts will awake the CPU very soon after entering into that WFE, and the problem was not discovered. But, in controller only builds, during some conformance tests, the loop will hang as no other interrupts are coming. => Replace the WFE() with a k_busy_wait (only for simulation) Signed-off-by: Alberto Escolar Piedras <[email protected]>
- Loading branch information