From b96c7c03ca790f62e4f9409b019290946f622aa7 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 12 Apr 2014 00:51:57 +0100 Subject: stmhal: Move fatfs volume/partition lookup table to ROM. --- stmhal/diskio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stmhal/diskio.c') 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) /* -- cgit v1.2.3