Skip to content

Commit

Permalink
Fix Cortex-M0 Hard Fault
Browse files Browse the repository at this point in the history
  • Loading branch information
greiman committed Jun 17, 2021
1 parent a9f2b6f commit caece65
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=SdFat
version=2.0.6
version=2.0.7
license=MIT
author=Bill Greiman <[email protected]>
maintainer=Bill Greiman <[email protected]>
Expand Down
4 changes: 2 additions & 2 deletions src/SdFat.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
#endif // INCLUDE_SDIOS
//------------------------------------------------------------------------------
/** SdFat version for cpp use. */
#define SD_FAT_VERSION 20006
#define SD_FAT_VERSION 20007
/** SdFat version as string. */
#define SD_FAT_VERSION_STR "2.0.6"
#define SD_FAT_VERSION_STR "2.0.7"
//==============================================================================
/**
* \class SdBase
Expand Down
4 changes: 2 additions & 2 deletions src/SdFatConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,8 @@ typedef uint8_t SdCsPin_t;
* Set USE_SIMPLE_LITTLE_ENDIAN nonzero for little endian processors
* with no memory alignment restrictions.
*/
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ && !defined(__SAMD21G18A__)\
&& !defined(__MKL26Z64__) && !defined(ESP8266)
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__\
&& (defined(__AVR__) || defined(__ARM_FEATURE_UNALIGNED))
#define USE_SIMPLE_LITTLE_ENDIAN 1
#else // __BYTE_ORDER_
#define USE_SIMPLE_LITTLE_ENDIAN 0
Expand Down

0 comments on commit caece65

Please sign in to comment.