summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/diskio.c
diff options
context:
space:
mode:
authorAlex March <alex.march.dev@gmail.com>2015-11-06 23:18:43 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-08 22:21:17 +0000
commit748509a93cec2ef0ad25e4c7a1e478e0703c496b (patch)
tree1d77b9328b968451ab31d05a2facf0b7920e89eb /stmhal/diskio.c
parent34472302d692212abc25f80d078c1fba76630ddd (diff)
downloadmicropython-748509a93cec2ef0ad25e4c7a1e478e0703c496b.tar.gz
micropython-748509a93cec2ef0ad25e4c7a1e478e0703c496b.zip
stmhal: FatFS configuration moved to the library folder.
Port specific settings defined in mpconfigport.
Diffstat (limited to 'stmhal/diskio.c')
-rw-r--r--stmhal/diskio.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/stmhal/diskio.c b/stmhal/diskio.c
index 3fd83ec90d..a15dce1aa5 100644
--- a/stmhal/diskio.c
+++ b/stmhal/diskio.c
@@ -34,7 +34,7 @@
#include "py/runtime.h"
#include "lib/fatfs/ff.h" /* FatFs lower layer API */
-#include "lib/fatfs/diskio.h" /* FatFs lower layer API */
+#include "lib/fatfs/diskio.h" /* FatFs lower layer API */
#include "rtc.h"
#include "storage.h"
#include "sdcard.h"
@@ -50,10 +50,6 @@ const PARTITION VolToPart[] = {
*/
};
-/* Definitions of physical drive number for each media */
-#define PD_FLASH (0)
-#define PD_SDCARD (1)
-#define PD_USER (2)
/*-----------------------------------------------------------------------*/
/* Initialize a Drive */