Skip to content

Commit

Permalink
Use fcntl.h for ESP32
Browse files Browse the repository at this point in the history
  • Loading branch information
greiman committed Feb 24, 2020
1 parent 41d8e42 commit 74d464a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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=1.1.1
version=1.1.2
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 @@ -36,8 +36,8 @@
#include "sdios.h"
#endif // INCLUDE_SDIOS
//------------------------------------------------------------------------------
/** SdFat version 1.1.1 */
#define SD_FAT_VERSION 10101
/** SdFat version 1.1.2 */
#define SD_FAT_VERSION 10102
//==============================================================================
/**
* \class SdBaseFile
Expand Down
2 changes: 2 additions & 0 deletions src/SdFatConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@
#elif defined(__arm__)
// ARM gcc defines open flags.
#define USE_FCNTL_H 1
#elif defined(ESP32)
#define USE_FCNTL_H 1
#else // defined(__AVR__)
#define USE_FCNTL_H 0
#endif // defined(__AVR__)
Expand Down

0 comments on commit 74d464a

Please sign in to comment.