aboutsummaryrefslogtreecommitdiff
path: root/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2011-03-16 22:54:31 +0000
committerDean Camera <[email protected]>2011-03-16 22:54:31 +0000
commitf6f4ac588cec25ad7f9baa67fc3c22c9306f962e (patch)
tree49edd06fa2db385aa42fa4619b5119063d4d69cb /Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
parentb47374caf543c49ce4c11c3e6d29ab10569b5272 (diff)
downloadqmk_firmware-f6f4ac588cec25ad7f9baa67fc3c22c9306f962e.tar.gz
qmk_firmware-f6f4ac588cec25ad7f9baa67fc3c22c9306f962e.zip
Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
Diffstat (limited to 'Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h')
-rw-r--r--Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
index a2fff65721..f5970a4925 100644
--- a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
+++ b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
@@ -43,13 +43,13 @@
/* Macros: */
/** Endpoint number of the CDC device-to-host notification IN endpoint. */
- #define CDC_NOTIFICATION_EPNUM 2
+ #define CDC_NOTIFICATION_EPNUM 1
/** Endpoint number of the CDC device-to-host data IN endpoint. */
- #define CDC_TX_EPNUM 3
+ #define CDC_TX_EPNUM 2
/** Endpoint number of the CDC host-to-device data OUT endpoint. */
- #define CDC_RX_EPNUM 4
+ #define CDC_RX_EPNUM 3
/** Size in bytes of the CDC device-to-host notification IN endpoint. */
#define CDC_NOTIFICATION_EPSIZE 8
@@ -58,10 +58,10 @@
#define CDC_TXRX_EPSIZE 16
/** Endpoint number of the Mass Storage device-to-host data IN endpoint. */
- #define MASS_STORAGE_IN_EPNUM 3
+ #define MASS_STORAGE_IN_EPNUM 4
/** Endpoint number of the Mass Storage host-to-device data OUT endpoint. */
- #define MASS_STORAGE_OUT_EPNUM 4
+ #define MASS_STORAGE_OUT_EPNUM 5
/** Size in bytes of the Mass Storage data endpoints. */
#define MASS_STORAGE_IO_EPSIZE 64