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

This commit is contained in:
Dean Camera committed 2009-03-27 03:11:58 +00:00
1 parent ca641bba83
commit bb4880a9ee
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@
*/
static inline void ADC_SetupChannel(const uint8_t Channel)
{
DDRD &= ~(1 << Channel);
DDRF &= ~(1 << Channel);
DIDR0 |= (1 << Channel);
}