From d69160608c4516a49d4e1ff513965aaf86c802a5 Mon Sep 17 00:00:00 2001 From: bigalex Date: Fri, 5 Oct 2012 23:24:03 +0200 Subject: [PATCH] measure in ADC in free running mode --- firmware/lib/bughal.c | 8 ++++---- firmware/main.c | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/firmware/lib/bughal.c b/firmware/lib/bughal.c index a959499..a25501e 100644 --- a/firmware/lib/bughal.c +++ b/firmware/lib/bughal.c @@ -65,10 +65,10 @@ void init_mic(void){ PORTB &= ~(1 << PORTB2);//and to GND ADMUX = (1<maxval) ? curval : maxval;