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;
|
||||
}
|
||||
|
||||
/* Do not hog the CPU */
|
||||
|
||||
nxsig_usleep(1000);
|
||||
|
||||
/* We are still in the programming state. Calculate the elapsed
|
||||
* time... we can't stay in this loop forever!
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue