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:
Jun Lin <CHLin56@nuvoton.com>
Loading
Please sign in to comment