From 30851157c75dd249d483cbf58573669fba5855d9 Mon Sep 17 00:00:00 2001 From: bigalex Date: Fri, 5 Oct 2012 23:24:47 +0200 Subject: [PATCH] ADC free running --- firmware/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/firmware/main.c b/firmware/main.c index 902a1a9..13a5c41 100644 --- a/firmware/main.c +++ b/firmware/main.c @@ -69,8 +69,7 @@ void do_mode0(void){ }; //end if timer_expired // single measurement - ADMUX = (ADMUX & ~(0x1F)) | 5; // select channel 5 - ADCSRA |= (1<maxval) ? curval : maxval;