diff options
-rw-r--r-- | firmware/drivers/adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/adc.c b/firmware/drivers/adc.c index 6008c14ed6..861be80987 100644 --- a/firmware/drivers/adc.c +++ b/firmware/drivers/adc.c | |||
@@ -39,7 +39,7 @@ static void adc_tick(void) | |||
39 | /* Start a conversion on the next channel */ | 39 | /* Start a conversion on the next channel */ |
40 | current_channel++; | 40 | current_channel++; |
41 | if(current_channel == NUM_ADC_CHANNELS) | 41 | if(current_channel == NUM_ADC_CHANNELS) |
42 | current_channel = 0; | 42 | current_channel = 0; |
43 | ADCSR = ADCSR_ADST | current_channel; | 43 | ADCSR = ADCSR_ADST | current_channel; |
44 | } | 44 | } |
45 | 45 | ||