aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/CDC.cpp
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/CDC.cpp
parent0ab2cb1c698017e4a81ec17d8677de09553e8683 (diff)
removed conditional compilation checks for CDC_ENABLED
bootloader must always have CDC enabled
Diffstat (limited to 'bootloaders/diskloader/src/CDC.cpp')
-rw-r--r--bootloaders/diskloader/src/CDC.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/bootloaders/diskloader/src/CDC.cpp b/bootloaders/diskloader/src/CDC.cpp
index a542d3c..4496a9c 100644
--- a/bootloaders/diskloader/src/CDC.cpp
+++ b/bootloaders/diskloader/src/CDC.cpp
@@ -21,7 +21,6 @@
#include <avr/wdt.h>
#if defined(USBCON)
-#ifdef CDC_ENABLED
typedef struct
{
@@ -91,6 +90,4 @@ bool WEAK CDC_Setup(Setup& setup)
}
return false;
}
-
-#endif
-#endif /* if defined(USBCON) */ \ No newline at end of file
+#endif /* if defined(USBCON) */