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:
patacongo 2011-03-06 00:56:26 +00:00
parent 0443335a11
commit 9f28177d4d

View File

@ -2613,7 +2613,7 @@ static int mmcsd_cardidentify(FAR struct mmcsd_state_s *priv)
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
* communicate properly with the card due to errors (and the loop times