Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_QM_03MAR2017_Flash_with_obsrs by
Diff: cdms_sd.h
- Revision:
- 174:44a6d7c7674c
- Parent:
- 99:efde3df6cd94
- Child:
- 190:3b924ffa4d19
- Child:
- 191:0636c8391407
--- 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