aboutsummaryrefslogtreecommitdiff
path: root/ports/stm32/usbd_msc_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/stm32/usbd_msc_interface.h')
-rw-r--r--ports/stm32/usbd_msc_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/stm32/usbd_msc_interface.h b/ports/stm32/usbd_msc_interface.h
index 9d25a72a3..411c707ca 100644
--- a/ports/stm32/usbd_msc_interface.h
+++ b/ports/stm32/usbd_msc_interface.h
@@ -26,6 +26,8 @@
#ifndef MICROPY_INCLUDED_STM32_USBD_MSC_INTERFACE_H
#define MICROPY_INCLUDED_STM32_USBD_MSC_INTERFACE_H
+#define USBD_MSC_MAX_LUN (2)
+
extern const USBD_StorageTypeDef usbd_msc_fops;
void usbd_msc_init_lu(size_t lu_n, const void *lu_data);