diff --git a/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_drv_mmc.c b/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_drv_mmc.c index 1e791c1..6c5a59a 100644 --- a/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_drv_mmc.c +++ b/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_drv_mmc.c @@ -26,7 +26,7 @@ */ /* - * $Id: wdc_drv_mmc.c,v 1.13 2012/06/08 10:40:39 olivleh1 Exp $ + * $Id: wdc_drv_mmc.c,v 1.14 2012/06/08 11:11:26 olivleh1 Exp $ */ #include @@ -346,7 +346,7 @@ uint8_t by; #endif MMC_Enable(); - //wait_till_card_ready(); + wait_till_card_ready(); /* send command */ if ( mmc_cmd ( cmd ) != 0 ) { diff --git a/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_main.c b/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_main.c index 6a07554..d233e75 100644 --- a/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_main.c +++ b/P8000_WDC_Emulator/P8000_WDC_Emulator/wdc_main.c @@ -29,7 +29,7 @@ /* * P8000 WDC Emulator * - * $Id: wdc_main.c,v 1.21 2012/06/08 10:40:39 olivleh1 Exp $ + * $Id: wdc_main.c,v 1.22 2012/06/08 11:11:26 olivleh1 Exp $ * * TODO: - Different Errorcodes in the MMC layer (use defines) * - errorchecking in several places @@ -56,7 +56,7 @@ #include "wdc_if_sdcard.h" #include "config.h" -#define DEBUG 3 +#define DEBUG 1 void atmega_setup ( void );