SD card driver seems to be working stable now

This commit is contained in:
Markus Fröschle
2013-10-14 18:42:20 +00:00
parent 00065971c7
commit c7ef84fcb6
2 changed files with 10 additions and 36 deletions

View File

@@ -41,7 +41,7 @@ extern __inline__ void wait(uint32_t us)
{
int32_t target = MCF_SLT_SCNT(0) - (us * 132);
while (MCF_SLT_SCNT(0) > target);
while (MCF_SLT_SCNT(0) - target > 0);
}
/*