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.
Dependents: GloboMetereologico
Fork of SDFileSystem by
Diff: SDFileSystem.h
- Revision:
- 4:49b29888eca7
- Parent:
- 3:7cf3d1835ef5
- Child:
- 5:6befff2300d0
--- a/SDFileSystem.h Wed Jul 30 17:45:02 2014 +0000
+++ b/SDFileSystem.h Wed Jul 30 17:51:33 2014 +0000
@@ -110,17 +110,17 @@
private:
//Commands
enum Command {
- CMD0 = 0, /**< GO_IDLE_STATE */
- CMD1 = 1, /**< SEND_OP_COND */
- ACMD41 = 41, /**< APP_SEND_OP_COND */
- CMD8 = 8, /**< SEND_IF_COND */
- CMD9 = 9, /**< SEND_CSD */
- CMD16 = 16, /**< SET_BLOCKLEN */
- CMD17 = 17, /**< READ_SINGLE_BLOCK */
- CMD24 = 24, /**< WRITE_BLOCK */
- CMD55 = 55, /**< APP_CMD */
- CMD58 = 58, /**< READ_OCR */
- CMD59 = 59 /**< CRC_ON_OFF */
+ CMD0 = (0x40 | 0), /**< GO_IDLE_STATE */
+ CMD1 = (0x40 | 1), /**< SEND_OP_COND */
+ ACMD41 = (0x40 | 41), /**< APP_SEND_OP_COND */
+ CMD8 = (0x40 | 8), /**< SEND_IF_COND */
+ CMD9 = (0x40 | 9), /**< SEND_CSD */
+ CMD16 = (0x40 | 16), /**< SET_BLOCKLEN */
+ CMD17 = (0x40 | 17), /**< READ_SINGLE_BLOCK */
+ CMD24 = (0x40 | 24), /**< WRITE_BLOCK */
+ CMD55 = (0x40 | 55), /**< APP_CMD */
+ CMD58 = (0x40 | 58), /**< READ_OCR */
+ CMD59 = (0x40 | 59) /**< CRC_ON_OFF */
};
//Member variables
