mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Correct a loop termination bug in mmcsd_sdio.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3344 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -2613,7 +2613,7 @@ static int mmcsd_cardidentify(FAR struct mmcsd_state_s *priv)
|
|||||||
/* Check the elapsed time. We won't keep trying this forever! */
|
/* Check the elapsed time. We won't keep trying this forever! */
|
||||||
|
|
||||||
elapsed = g_system_timer - start;
|
elapsed = g_system_timer - start;
|
||||||
}
|
}
|
||||||
while (elapsed < TICK_PER_SEC && ret != OK);
|
while (elapsed < TICK_PER_SEC && ret != OK);
|
||||||
|
|
||||||
/* We get here when the above loop completes, either (1) we could not
|
/* We get here when the above loop completes, either (1) we could not
|
||||||
|
|||||||
Reference in New Issue
Block a user