fixed recursive call to disk_initialize()

This commit is contained in:
Markus Fröschle
2012-12-06 08:55:50 +00:00
parent 99e9417752
commit 7251215f64
3 changed files with 8 additions and 10 deletions

View File

@@ -28,6 +28,8 @@
#include "sd_card.h"
#include "diskio.h"
#define xprintf xprintf_before_copy
/*
* "standard value" for DSPI module configuration register MCF_DSPC_DMCR
*/
@@ -174,7 +176,6 @@ int spi_init(void)
wait(10000);
//sd_card_idle();
disk_initialize(0);
xprintf("finished\r\n");
return 0;