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.
Diff: SDFileSystem.cpp
- Revision:
- 7:784b2bd6d8c0
- Parent:
- 4:3f40cbfe801c
--- a/SDFileSystem.cpp Fri Sep 09 19:35:14 2016 +0000
+++ b/SDFileSystem.cpp Wed May 05 08:19:28 2021 +0000
@@ -156,7 +156,7 @@
// send CMD0, should return with all zeros except IDLE STATE set (bit 0)
if (_cmd(0, 0) != R1_IDLE_STATE) {
- debug("No disk, or could not put SD card in to SPI idle state\n");
+ debug("Pas de disque ou impossible de mettre la carte SD en etat d'inactivite SPI\n\r");
return SDCARD_FAIL;
}
@@ -167,7 +167,7 @@
} else if (r == (R1_IDLE_STATE | R1_ILLEGAL_COMMAND)) {
return initialise_card_v1();
} else {
- debug("Not in idle state after sending CMD8 (not an SD card?)\n");
+ debug("Pas en etat d'inactivite apres l'envoi du CMD8 (pas une carte SD?)\n\r");
return SDCARD_FAIL;
}
}
@@ -206,7 +206,7 @@
int SDFileSystem::disk_initialize() {
_is_initialized = initialise_card();
if (_is_initialized == 0) {
- debug("Fail to initialize card\n");
+ debug("Echec de l'initialisation de la carte\n\r");
return 1;
}
debug_if(SD_DBG, "init card = %d\n", _is_initialized);