Skip to content

Commit

Permalink
Change SD_FAT_VERSION from string to integer
Browse files Browse the repository at this point in the history
  • Loading branch information
greiman committed Dec 26, 2020
1 parent f62283a commit ca42ad3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/SdInfo/SdInfo.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}
Expand Down
6 changes: 4 additions & 2 deletions src/SdFat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ca42ad3

Please sign in to comment.