summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/diskio.c
diff options
context:
space:
mode:
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 */