mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
Fix typo in mmc timer code that prevented writing to files
This commit is contained in:
parent
cd530f9640
commit
9cd7c65e06
@ -114,7 +114,7 @@ BYTE wait_ready (void)
|
||||
rcvr_spi();
|
||||
do
|
||||
res = rcvr_spi(); /* Wait for ready in timeout of 500ms. */
|
||||
while ( ( res != 0xFF ) && ( platform_timer_get_diff_crt( PLATFORM_TIMER_SYS_ID, Timer1 ) < 500000 ) );
|
||||
while ( ( res != 0xFF ) && ( platform_timer_get_diff_crt( PLATFORM_TIMER_SYS_ID, Timer2 ) < 500000 ) );
|
||||
|
||||
return res;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user