Fixed incorrect ADC driver init register manipulation (thanks to Tobias).
This commit is contained in:
parent
ca641bba83
commit
bb4880a9ee
2 changed files with 2 additions and 1 deletions
|
@ -137,7 +137,7 @@
|
|||
*/
|
||||
static inline void ADC_SetupChannel(const uint8_t Channel)
|
||||
{
|
||||
DDRD &= ~(1 << Channel);
|
||||
DDRF &= ~(1 << Channel);
|
||||
DIDR0 |= (1 << Channel);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue