diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-27 03:11:58 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-03-27 03:11:58 +0000 |
commit | bb4880a9ee83d195adfaf6816c47a3fb92f40172 (patch) | |
tree | bba012422db3863d51935e329909f6098ee4fc3a /LUFA/Drivers/AT90USBXXX/AT90USBXXX67 | |
parent | ca641bba8356851dd8144bde4a10bc5e5c647930 (diff) | |
download | lufa-bb4880a9ee83d195adfaf6816c47a3fb92f40172.tar.gz lufa-bb4880a9ee83d195adfaf6816c47a3fb92f40172.tar.bz2 lufa-bb4880a9ee83d195adfaf6816c47a3fb92f40172.zip |
Fixed incorrect ADC driver init register manipulation (thanks to Tobias).
Diffstat (limited to 'LUFA/Drivers/AT90USBXXX/AT90USBXXX67')
-rw-r--r-- | LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h b/LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h index 58027709f..c86203fe0 100644 --- a/LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h +++ b/LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h @@ -137,7 +137,7 @@ */
static inline void ADC_SetupChannel(const uint8_t Channel)
{
- DDRD &= ~(1 << Channel);
+ DDRF &= ~(1 << Channel);
DIDR0 |= (1 << Channel);
}
|