Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: max32630fthr Adafruit_FeatherOLED USBDevice
Diff: patches/filesystem.patch
- Revision:
- 1:f60eafbf009a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/filesystem.patch Wed Apr 10 14:56:25 2019 +0300 @@ -0,0 +1,15 @@ +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