![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
TEST
Dependencies: max32630fthr Adafruit_FeatherOLED USBDevice
patches/filesystem.patch
- Committer:
- wwwarunraj
- Date:
- 2020-04-19
- Revision:
- 4:291477e8690d
- Parent:
- 1:f60eafbf009a
File content as of revision 4:291477e8690d:
diff --git a/features/filesystem/fat/ChaN/ffconf.h b/features/filesystem/fat/ChaN/ffconf.h index 22e1294277..8eba16f9f3 100644 --- a/features/filesystem/fat/ChaN/ffconf.h +++ b/features/filesystem/fat/ChaN/ffconf.h @@ -288,8 +288,8 @@ /* #include <windows.h> // O/S definitions */ -#define FLUSH_ON_NEW_CLUSTER 0 /* Sync the file on every new cluster */ -#define FLUSH_ON_NEW_SECTOR 1 /* Sync the file on every new sector */ +#define FLUSH_ON_NEW_CLUSTER 1 /* Sync the file on every new cluster */ +#define FLUSH_ON_NEW_SECTOR 0 /* Sync the file on every new sector */ /* Only one of these two defines needs to be set to 1. If both are set to 0 the file is only sync when closed. Clusters are group of sectors (eg: 8 sectors). Flushing on new cluster means