Skip to content
Snippets Groups Projects
Commit bb4880a9 authored by Dean Camera's avatar Dean Camera
Browse files

Fixed incorrect ADC driver init register manipulation (thanks to Tobias).

parent ca641bba
Branches
Tags
No related merge requests found
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
* - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data * - 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 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 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 * \section Sec_ChangeLog090209 Version 090209
* *
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
*/ */
static inline void ADC_SetupChannel(const uint8_t Channel) static inline void ADC_SetupChannel(const uint8_t Channel)
{ {
DDRD &= ~(1 << Channel); DDRF &= ~(1 << Channel);
DIDR0 |= (1 << Channel); DIDR0 |= (1 << Channel);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment