aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/AVRISP/AVRISP.h
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/AVRISP/AVRISP.h')
-rw-r--r--Projects/AVRISP/AVRISP.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/Projects/AVRISP/AVRISP.h b/Projects/AVRISP/AVRISP.h
index d37bf5320..e17fe3009 100644
--- a/Projects/AVRISP/AVRISP.h
+++ b/Projects/AVRISP/AVRISP.h
@@ -46,8 +46,12 @@
#include <LUFA/Version.h>
#include <LUFA/Drivers/Board/LEDs.h>
- #include <LUFA/Drivers/USB/USB.h>
-
+ #include <LUFA/Drivers/USB/USB.h>
+
+ #if defined(ADC)
+ #include <LUFA/Drivers/Peripheral/ADC.h>
+ #endif
+
#include "Lib/V2Protocol.h"
/* Macros: */
@@ -61,7 +65,7 @@
#define LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */
- #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
+ #define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
/* Function Prototypes: */
void SetupHardware(void);