aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/USBDesc.h
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2011-10-27 10:48:26 -0400
committerZach Eveland <zeveland@blacklabel-development.com>2011-10-27 10:48:26 -0400
commit5d976f8b1d1b5dbf8b0dbe4ec292ffa28409fcf2 (patch)
tree5540647b3f408068c7fd0d21022770a1ce03a6f3 /bootloaders/diskloader/src/USBDesc.h
parent0ab2cb1c698017e4a81ec17d8677de09553e8683 (diff)
removed conditional compilation checks for CDC_ENABLED
bootloader must always have CDC enabled
Diffstat (limited to 'bootloaders/diskloader/src/USBDesc.h')
-rw-r--r--bootloaders/diskloader/src/USBDesc.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/bootloaders/diskloader/src/USBDesc.h b/bootloaders/diskloader/src/USBDesc.h
index 997ff61..588a40c 100644
--- a/bootloaders/diskloader/src/USBDesc.h
+++ b/bootloaders/diskloader/src/USBDesc.h
@@ -16,15 +16,8 @@
** SOFTWARE.
*/
-#define CDC_ENABLED
-
-#ifdef CDC_ENABLED
#define CDC_INTERFACE_COUNT 2
#define CDC_ENPOINT_COUNT 3
-#else
-#define CDC_INTERFACE_COUNT 0
-#define CDC_ENPOINT_COUNT 0
-#endif
#define CDC_ACM_INTERFACE 0 // CDC ACM
#define CDC_DATA_INTERFACE 1 // CDC Data
@@ -33,10 +26,8 @@
#define CDC_ENDPOINT_OUT (CDC_FIRST_ENDPOINT+1)
#define CDC_ENDPOINT_IN (CDC_FIRST_ENDPOINT+2)
-#ifdef CDC_ENABLED
#define CDC_RX CDC_ENDPOINT_OUT
#define CDC_TX CDC_ENDPOINT_IN
-#endif
#define IMANUFACTURER 1
#define IPRODUCT 2