summaryrefslogtreecommitdiffstats
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index d6e753f9cb..9a6bcfa1db 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -26,7 +26,11 @@
#include "mv.h" /* for volume definitions */
#include "config.h"
+/* This value can be overwritten by a target in config-[target].h, but
+ that behaviour is still experimental */
+#ifndef SECTOR_SIZE
#define SECTOR_SIZE 512
+#endif
/* Number of bytes reserved for a file name (including the trailing \0).
Since names are stored in the entry as UTF-8, we won't be able to