aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorbarthess <barthess@yandex.ru>2017-01-04 10:17:04 +0300
committerbarthess <barthess@yandex.ru>2017-01-04 10:17:04 +0300
commit52f82fb9cc13779146016ca993c80f7b82ea65bd (patch)
tree4a2168376d87185caf4245e3b6547bde601a6a72 /testhal/STM32
parent9b1c3b0122821ff1f9a9aba3f742fd3bc7d8a3dc (diff)
downloadChibiOS-Contrib-52f82fb9cc13779146016ca993c80f7b82ea65bd.tar.gz
ChibiOS-Contrib-52f82fb9cc13779146016ca993c80f7b82ea65bd.tar.bz2
ChibiOS-Contrib-52f82fb9cc13779146016ca993c80f7b82ea65bd.zip
USB MSD. Cosmetical improvements.
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/STM32F7xx/USB_MSD/usbcfg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F7xx/USB_MSD/usbcfg.c b/testhal/STM32/STM32F7xx/USB_MSD/usbcfg.c
index 4efeb4b..22a2029 100644
--- a/testhal/STM32/STM32F7xx/USB_MSD/usbcfg.c
+++ b/testhal/STM32/STM32F7xx/USB_MSD/usbcfg.c
@@ -21,6 +21,11 @@
#include "usbcfg.h"
/*
+ * must be 64 for full speed and 512 for high speed
+ */
+#define USB_MSD_EP_SIZE 64U
+
+/*
* USB Device Descriptor.
*/
static const uint8_t vcom_device_descriptor_data[18] = {