diff --git a/examples/SdInfo/SdInfo.ino b/examples/SdInfo/SdInfo.ino index d326ba66..b928c897 100644 --- a/examples/SdInfo/SdInfo.ino +++ b/examples/SdInfo/SdInfo.ino @@ -208,7 +208,7 @@ void setup() { while (!Serial) { SysCall::yield(); } - cout << F("SdFat version: ") << SD_FAT_VERSION << endl; + cout << F("SdFat version: ") << SD_FAT_VERSION_STR << endl; printConfig(SD_CONFIG); } diff --git a/src/SdFat.h b/src/SdFat.h index c7c03f94..215ec522 100644 --- a/src/SdFat.h +++ b/src/SdFat.h @@ -38,8 +38,10 @@ #endif // INCLUDE_SDIOS //------------------------------------------------------------------------------ -/** SdFat version */ -#define SD_FAT_VERSION "2.0.2" +/** SdFat version for cpp use. */ +#define SD_FAT_VERSION 20003 +/** SdFat version as string. */ +#define SD_FAT_VERSION_STR "2.0.3" //============================================================================== /** * \class SdBase