Fix bugs in the new VirtualSerialMassStorage demo (thanks to Martin Degelsegger).
[pub/USBasp.git] / Demos / Device / ClassDriver / VirtualSerialMassStorage / Descriptors.h
index a2fff65..f5970a4 100644 (file)
 \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
-               #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
-               #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
                #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
-               #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