summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/diskio.c
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/diskio.c')
-rw-r--r--stmhal/diskio.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/stmhal/diskio.c b/stmhal/diskio.c
index 998729a70d..f336b73771 100644
--- a/stmhal/diskio.c
+++ b/stmhal/diskio.c
@@ -37,13 +37,6 @@
#include "lib/fatfs/diskio.h" /* FatFs lower layer API */
#include "extmod/fsusermount.h"
-// constants for block protocol ioctl
-#define BP_IOCTL_INIT (1)
-//#define BP_IOCTL_DEINIT (2) // unused
-#define BP_IOCTL_SYNC (3)
-#define BP_IOCTL_SEC_COUNT (4)
-#define BP_IOCTL_SEC_SIZE (5)
-
STATIC fs_user_mount_t *disk_get_device(uint id) {
if (id < MP_ARRAY_SIZE(MP_STATE_PORT(fs_user_mount))) {
return MP_STATE_PORT(fs_user_mount)[id];