TEST
Dependencies: max32630fthr Adafruit_FeatherOLED USBDevice
patches/filesystem.patch@4:291477e8690d, 2020-04-19 (annotated)
- Committer:
- wwwarunraj
- Date:
- Sun Apr 19 11:19:57 2020 +0000
- Revision:
- 4:291477e8690d
- Parent:
- 1:f60eafbf009a
19/04
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gmehmet | 1:f60eafbf009a | 1 | diff --git a/features/filesystem/fat/ChaN/ffconf.h b/features/filesystem/fat/ChaN/ffconf.h |
gmehmet | 1:f60eafbf009a | 2 | index 22e1294277..8eba16f9f3 100644 |
gmehmet | 1:f60eafbf009a | 3 | --- a/features/filesystem/fat/ChaN/ffconf.h |
gmehmet | 1:f60eafbf009a | 4 | +++ b/features/filesystem/fat/ChaN/ffconf.h |
gmehmet | 1:f60eafbf009a | 5 | @@ -288,8 +288,8 @@ |
gmehmet | 1:f60eafbf009a | 6 | |
gmehmet | 1:f60eafbf009a | 7 | /* #include <windows.h> // O/S definitions */ |
gmehmet | 1:f60eafbf009a | 8 | |
gmehmet | 1:f60eafbf009a | 9 | -#define FLUSH_ON_NEW_CLUSTER 0 /* Sync the file on every new cluster */ |
gmehmet | 1:f60eafbf009a | 10 | -#define FLUSH_ON_NEW_SECTOR 1 /* Sync the file on every new sector */ |
gmehmet | 1:f60eafbf009a | 11 | +#define FLUSH_ON_NEW_CLUSTER 1 /* Sync the file on every new cluster */ |
gmehmet | 1:f60eafbf009a | 12 | +#define FLUSH_ON_NEW_SECTOR 0 /* Sync the file on every new sector */ |
gmehmet | 1:f60eafbf009a | 13 | /* Only one of these two defines needs to be set to 1. If both are set to 0 |
gmehmet | 1:f60eafbf009a | 14 | the file is only sync when closed. |
gmehmet | 1:f60eafbf009a | 15 | Clusters are group of sectors (eg: 8 sectors). Flushing on new cluster means |