diff main.c @ 62:68c1e2b26bc5

merge
author Matt Johnston <matt@ucc.asn.au>
date Tue, 26 Jun 2012 21:21:09 +0800
parents 2ebe33714989 62112fc2af21
children ca08442635ca
line wrap: on
line diff
--- a/main.c	Tue Jun 26 00:00:42 2012 +0800
+++ b/main.c	Tue Jun 26 21:21:09 2012 +0800
@@ -625,10 +625,7 @@
 {
     PRR &= ~_BV(PRADC);
     
-    // left adjust
-    ADMUX = _BV(ADLAR);
-
-    // /128 prescaler
+    // /16 prescaler
     ADCSRA = _BV(ADEN) | _BV(ADPS2);
 
     // set to measure 1.1 reference