mirror of
https://github.com/apache/nuttx.git
synced 2026-08-24 23:18:21 +00:00
mmcsd_sdio:Release CPU during wait for Write Completion
This commit is contained in:
parent
d570a93945
commit
9d0e712347
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue