diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-18 11:31:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-10-18 11:31:03 +0000 |
commit | 3aa8a69246942c27a389950caad0374ffb3e6056 (patch) | |
tree | 18b81a49ed1fa200b2709d9a3acfe36e89907903 /Projects | |
parent | 738c9203fccfdcd11e4fc5bcb3ca4d102d15e1cd (diff) | |
download | lufa-3aa8a69246942c27a389950caad0374ffb3e6056.tar.gz lufa-3aa8a69246942c27a389950caad0374ffb3e6056.tar.bz2 lufa-3aa8a69246942c27a389950caad0374ffb3e6056.zip |
Fixed AVRISP-MKII Clone compile warning on AVR8 U4 targets even when NO_VTARGET_DETECT is enabled.
Diffstat (limited to 'Projects')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/V2Protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/V2Protocol.h b/Projects/AVRISP-MKII/Lib/V2Protocol.h index 2511571f9..33ef431cd 100644 --- a/Projects/AVRISP-MKII/Lib/V2Protocol.h +++ b/Projects/AVRISP-MKII/Lib/V2Protocol.h @@ -58,7 +58,7 @@ #endif #endif - #if defined(USB_SERIES_4_AVR) && ((VTARGET_ADC_CHANNEL == 2) || (VTARGET_ADC_CHANNEL == 3)) + #if defined(USB_SERIES_4_AVR) && ((VTARGET_ADC_CHANNEL == 2) || (VTARGET_ADC_CHANNEL == 3)) && !defined(NO_VTARGET_DETECT) #error The U4 AVR chips do not contain ADC channels 2 or 3. Please change VTARGET_ADC_CHANNEL or define NO_VTARGET_DETECT in the makefile. #endif |