mmcsd_sdio:Release CPU during wait for Write Completion
This commit is contained in:
parent
d570a93945
commit
9d0e712347
@ -1268,6 +1268,10 @@ static int mmcsd_transferready(FAR struct mmcsd_state_s *priv)
|
|||||||
goto errorout;
|
goto errorout;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Do not hog the CPU */
|
||||||
|
|
||||||
|
nxsig_usleep(1000);
|
||||||
|
|
||||||
/* We are still in the programming state. Calculate the elapsed
|
/* We are still in the programming state. Calculate the elapsed
|
||||||
* time... we can't stay in this loop forever!
|
* time... we can't stay in this loop forever!
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user