aboutsummaryrefslogtreecommitdiff
path: root/stmhal/diskio.c
diff options
context:
space:
mode:
authorDamien George2014-04-12 00:51:57 +0100
committerDamien George2014-04-12 00:51:57 +0100
commitb96c7c03ca790f62e4f9409b019290946f622aa7 (patch)
treee216cfbc1f2a1e670b1616a05498fd6ec9124e14 /stmhal/diskio.c
parent60427864b1aaaedfdd407b62433148381147d674 (diff)
stmhal: Move fatfs volume/partition lookup table to ROM.
Diffstat (limited to 'stmhal/diskio.c')
-rw-r--r--stmhal/diskio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/diskio.c b/stmhal/diskio.c
index 0c67a23d6..4ac3a35aa 100644
--- a/stmhal/diskio.c
+++ b/stmhal/diskio.c
@@ -15,7 +15,7 @@
#include "storage.h"
#include "sdcard.h"
-PARTITION VolToPart[] = {
+const PARTITION VolToPart[] = {
{0, 1}, // Logical drive 0 ==> Physical drive 0, 1st partition
{1, 0}, // Logical drive 1 ==> Physical drive 1 (auto detection)
/*