projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
[pub/USBasp.git]
/
Demos
/
Device
/
ClassDriver
/
VirtualSerialMassStorage
/
Descriptors.h
diff --git
a/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
b/Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
index
a2fff65
..
f5970a4
100644
(file)
--- a/
Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
+++ b/
Demos/Device/ClassDriver/VirtualSerialMassStorage/Descriptors.h
@@
-43,13
+43,13
@@
\r
/* Macros: */
\r
/** Endpoint number of the CDC device-to-host notification IN endpoint. */
\r
\r
/* Macros: */
\r
/** Endpoint number of the CDC device-to-host notification IN endpoint. */
\r
- #define CDC_NOTIFICATION_EPNUM
2
\r
+ #define CDC_NOTIFICATION_EPNUM
1
\r
\r
/** Endpoint number of the CDC device-to-host data IN endpoint. */
\r
\r
/** Endpoint number of the CDC device-to-host data IN endpoint. */
\r
- #define CDC_TX_EPNUM
3
\r
+ #define CDC_TX_EPNUM
2
\r
\r
/** Endpoint number of the CDC host-to-device data OUT endpoint. */
\r
\r
/** Endpoint number of the CDC host-to-device data OUT endpoint. */
\r
- #define CDC_RX_EPNUM
4
\r
+ #define CDC_RX_EPNUM
3
\r
\r
/** Size in bytes of the CDC device-to-host notification IN endpoint. */
\r
#define CDC_NOTIFICATION_EPSIZE 8
\r
\r
/** Size in bytes of the CDC device-to-host notification IN endpoint. */
\r
#define CDC_NOTIFICATION_EPSIZE 8
\r
@@
-58,10
+58,10
@@
#define CDC_TXRX_EPSIZE 16
\r
\r
/** Endpoint number of the Mass Storage device-to-host data IN endpoint. */
\r
#define CDC_TXRX_EPSIZE 16
\r
\r
/** Endpoint number of the Mass Storage device-to-host data IN endpoint. */
\r
- #define MASS_STORAGE_IN_EPNUM
3
\r
+ #define MASS_STORAGE_IN_EPNUM
4
\r
\r
/** Endpoint number of the Mass Storage host-to-device data OUT endpoint. */
\r
\r
/** Endpoint number of the Mass Storage host-to-device data OUT endpoint. */
\r
- #define MASS_STORAGE_OUT_EPNUM
4
\r
+ #define MASS_STORAGE_OUT_EPNUM
5
\r
\r
/** Size in bytes of the Mass Storage data endpoints. */
\r
#define MASS_STORAGE_IO_EPSIZE 64
\r
\r
/** Size in bytes of the Mass Storage data endpoints. */
\r
#define MASS_STORAGE_IO_EPSIZE 64
\r