Simple version of COM_MNG_TMTC_CODE for IITMSAT.
Dependencies: mbed-rtos mbed FreescaleIAP SimpleDMA
Diff: cdms_sd.h
- Revision:
- 174:44a6d7c7674c
- Parent:
- 99:efde3df6cd94
--- a/cdms_sd.h Fri Apr 22 09:52:38 2016 +0000 +++ b/cdms_sd.h Fri Apr 22 11:27:33 2016 +0000 @@ -269,11 +269,11 @@ // send CMD8 to determine whther it is ver 2.x int r = cmd8(); if (r == R1_IDLE_STATE) { -// printf("\rEntering v2\r\n"); + gPC.printf("\rEntering v2\r\n"); return initialise_card_v2(); } else if (r == (R1_IDLE_STATE | R1_ILLEGAL_COMMAND)) { -// printf("\rEntering v1\r\n"); + gPC.printf("\rEntering v1\r\n"); return initialise_card_v1(); } else { @@ -515,7 +515,7 @@ debug("\rSet 512-byte block timed out\r\n"); return 1; } else { -// printf("\rDisk initialization successfull\r\n"); + gPC.printf("\rDisk initialization successfull\r\n"); } spi.frequency(1000000); // Set to 1MHz for data transfer