diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-31 07:32:48 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-31 07:32:48 +0000 |
commit | 009eebf229a235cf090a4530908a8d34da36ba21 (patch) | |
tree | a2252773670e33f619b498af5400a7b4859a4223 /Projects/AVRISP-MKII/Lib | |
parent | 1afe51faa12ad17f6f72d53b492e2720cfbe992f (diff) | |
download | lufa-009eebf229a235cf090a4530908a8d34da36ba21.tar.gz lufa-009eebf229a235cf090a4530908a8d34da36ba21.tar.bz2 lufa-009eebf229a235cf090a4530908a8d34da36ba21.zip |
Fix incorrect ADC driver documentation for the parameters of ADC_Init(), fix incorrect call to ADC_Init() in the TemperatureDatalogger project.
Diffstat (limited to 'Projects/AVRISP-MKII/Lib')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/V2Protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/AVRISP-MKII/Lib/V2Protocol.c b/Projects/AVRISP-MKII/Lib/V2Protocol.c index 45d840bbc..4ef1b94a1 100644 --- a/Projects/AVRISP-MKII/Lib/V2Protocol.c +++ b/Projects/AVRISP-MKII/Lib/V2Protocol.c @@ -57,7 +57,7 @@ void V2Protocol_Init(void) /* Initialize the ADC converter for VTARGET level detection on supported AVR models */ ADC_Init(ADC_FREE_RUNNING | ADC_PRESCALE_128); ADC_SetupChannel(VTARGET_ADC_CHANNEL); - ADC_StartReading(VTARGET_ADC_CHANNEL_MASK | ADC_RIGHT_ADJUSTED | ADC_REFERENCE_AVCC); + ADC_StartReading(ADC_REFERENCE_AVCC | ADC_RIGHT_ADJUSTED | VTARGET_ADC_CHANNEL_MASK); #endif /* Timeout timer initialization (10ms period) */ |