mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-02 06:49:16 +02:00
Fixed incorrect ADC driver init register manipulation (thanks to Tobias).
This commit is contained in:
@@ -137,7 +137,7 @@
|
||||
*/
|
||||
static inline void ADC_SetupChannel(const uint8_t Channel)
|
||||
{
|
||||
DDRD &= ~(1 << Channel);
|
||||
DDRF &= ~(1 << Channel);
|
||||
DIDR0 |= (1 << Channel);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user