preparing to get rid of timer interrupt routines in fatfs module

This commit is contained in:
Markus Fröschle
2012-12-10 13:54:17 +00:00
parent 1d634ef2a4
commit cc2e62cb27
6 changed files with 13 additions and 13 deletions

View File

@@ -157,7 +157,7 @@ static void xmit_spi_multi(const uint8_t *buff, uint32_t btx)
#endif
static int card_ready(void)
static uint32_t card_ready(void)
{
uint8_t d;
@@ -231,7 +231,7 @@ static void power_on (void) /* Enable SSP module and attach it to I/O pads */
#endif
CS_HIGH(); /* Set CS# high */
#endif /* _NOT_USED_ */
for (Timer1 = 10; Timer1; ) ; /* 10ms */
wait(10 * 1000); /* 10ms */
}