explicitely initialize SPI to start with slow clock

This commit is contained in:
Markus Fröschle
2012-12-16 06:39:58 +00:00
parent 0fd987e847
commit 21ff94f57c
2 changed files with 2 additions and 60 deletions

View File

@@ -392,7 +392,7 @@ DSTATUS disk_initialize(uint8_t drv)
if (Stat & STA_NODISK) return Stat; /* Is card existing in the socket? */
//FCLK_SLOW();
FCLK_SLOW();
for (n = 10; n; n--) xchg_spi(0xFF); /* Send 80 dummy clocks */
ty = 0;