Skip to content
Commit bc26e1a4 authored by Jun Lin's avatar Jun Lin Committed by Anas Nashif
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>
(cherry picked from commit dee7927a)
parent 7cfc1539
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment