summary refs log tree commit diff
path: root/src/ff/ffconf.h
diff options
context:
space:
mode:
authorMaxwell Beck <max@rastertail.net>2025-05-29 13:05:58 -0500
committerMaxwell Beck <max@rastertail.net>2025-05-29 13:05:58 -0500
commit3ee6d4b5f90cea5f0959ed0724151551c8fb5029 (patch)
tree4e9460de709aaa7021f39624eafa997431517bf1 /src/ff/ffconf.h
parent5660f7984f5aee21dd248bb721987bacde290bc8 (diff)
perf: Use 4K sectors for flash access
Diffstat (limited to 'src/ff/ffconf.h')
-rw-r--r--src/ff/ffconf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ff/ffconf.h b/src/ff/ffconf.h
index caa02a6..c8370e6 100644
--- a/src/ff/ffconf.h
+++ b/src/ff/ffconf.h
@@ -193,8 +193,8 @@
 /  will be available. */

 

 

-#define FF_MIN_SS		512

-#define FF_MAX_SS		512

+#define FF_MIN_SS		4096

+#define FF_MAX_SS		4096

 /* This set of options configures the range of sector size to be supported. (512,

 /  1024, 2048 or 4096) Always set both 512 for most systems, generic memory card and

 /  harddisk, but a larger value may be required for on-board flash memory and some