Skip to content
Commit dee7927a authored by Jun Lin's avatar Jun Lin Committed by Benjamin Cabé
Browse files

drivers: flash: npcx: add k_usleep when polling busy status



Adding k_usleep while polling the flash's busy status yields the CPU
resource, giving lower-priority threads the opportunity to run.

Signed-off-by: default avatarJun Lin <CHLin56@nuvoton.com>
parent 3295f7c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment