HSP Platform firmware evaluating ECG data and hearth rate over PPG data.
Dependencies: max32630fthr Adafruit_FeatherOLED USBDevice
Diff: patches/filesystem.patch
- Revision:
- 1:f60eafbf009a
diff -r 07d28b5db986 -r f60eafbf009a patches/filesystem.patch --- /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