diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index 3c482a1532093f4cef8a7f859afaad2d326984fa..e8dbba0295ea64384a2147c19f13313c210e95eb 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -44,6 +44,7 @@ * - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data * - Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg) * - Fixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE is defined (thanks to Ian Gregg) + * - Fixed incorrect ADC driver init register manipulation (thanks to Tobias) * * \section Sec_ChangeLog090209 Version 090209 * diff --git a/LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h b/LUFA/Drivers/AT90USBXXX/AT90USBXXX67/ADC.h index 58027709f6c1e3bba97526538bbee594d37a42d2..c86203fe0066a5a3d968d721ce30635933d6a65b 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); }