altoslib: fix computation of TeleGPS battery voltage
[fw/altos] / src / cc1111 / ao_timer.c
index 2fbc6621dfdf43c9b989f5d1cbad0092b8498a9f..a3d454da252a75385bd0b5e30136dd3e92da5ffd 100644 (file)
@@ -3,7 +3,8 @@
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License.
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful, but
  * WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -61,7 +62,7 @@ ao_timer_init(void)
        /* NOTE:  This uses a timer only present on cc1111 architecture. */
 
        /* disable timer 1 */
-       T1CTL = 0;
+/*     T1CTL = 0; */
 
        /* set the sample rate */
        T1CC0H = T1_SAMPLE_TIME >> 8;