From 8b8776a5f1531bdc659187c9c45c65532e78bb7f Mon Sep 17 00:00:00 2001 From: Bill Greiman Date: Tue, 4 Jul 2017 06:48:28 -0700 Subject: [PATCH] Add CRC read error code --- library.properties | 2 +- src/SdCard/SdInfo.h | 1 + src/SdFat.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/library.properties b/library.properties index a6929b15..fb482ae8 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=SdFat -version=1.0.2 +version=1.0.3 author=Bill Greiman maintainer=Bill Greiman sentence=FAT16/FAT32 file system for SD cards. diff --git a/src/SdCard/SdInfo.h b/src/SdCard/SdInfo.h index 81aa14e5..5bc68953 100644 --- a/src/SdCard/SdInfo.h +++ b/src/SdCard/SdInfo.h @@ -67,6 +67,7 @@ typedef enum { // Read/write errors SD_CARD_ERROR_READ = 0X50, + SD_CARD_ERROR_READ_CRC, SD_CARD_ERROR_READ_FIFO, SD_CARD_ERROR_READ_REG, SD_CARD_ERROR_READ_START, diff --git a/src/SdFat.h b/src/SdFat.h index 78f35afe..bf069528 100644 --- a/src/SdFat.h +++ b/src/SdFat.h @@ -29,7 +29,7 @@ #include "SdCard/SdioCard.h" //------------------------------------------------------------------------------ /** SdFat version */ -#define SD_FAT_VERSION "1.0.2" +#define SD_FAT_VERSION "1.0.3" //============================================================================== /** * \class SdBaseFile