Skip to content

Commit 74d464a

Browse files
committed
Use fcntl.h for ESP32
1 parent 41d8e42 commit 74d464a

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Diff for: library.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=SdFat
2-
version=1.1.1
2+
version=1.1.2
33
license=MIT
44
author=Bill Greiman <[email protected]>
55
maintainer=Bill Greiman <[email protected]>

Diff for: src/SdFat.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
#include "sdios.h"
3737
#endif // INCLUDE_SDIOS
3838
//------------------------------------------------------------------------------
39-
/** SdFat version 1.1.1 */
40-
#define SD_FAT_VERSION 10101
39+
/** SdFat version 1.1.2 */
40+
#define SD_FAT_VERSION 10102
4141
//==============================================================================
4242
/**
4343
* \class SdBaseFile

Diff for: src/SdFatConfig.h

+2
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@
9999
#elif defined(__arm__)
100100
// ARM gcc defines open flags.
101101
#define USE_FCNTL_H 1
102+
#elif defined(ESP32)
103+
#define USE_FCNTL_H 1
102104
#else // defined(__AVR__)
103105
#define USE_FCNTL_H 0
104106
#endif // defined(__AVR__)

0 commit comments

Comments
 (0)