From: Keith Packard Date: Sun, 18 Dec 2016 04:57:38 +0000 (-0800) Subject: altos/cc1111: Remove unneeded initialization in ao_timer.c X-Git-Tag: 1.7~104 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=61f729567ff6355ab52c3e83399761103022a41a altos/cc1111: Remove unneeded initialization in ao_timer.c The timers are all stopped when the chip boots, so no need to stop them. This saves some text space, allowing the current code to (just barely) fit. Signed-off-by: Keith Packard --- diff --git a/src/cc1111/ao_timer.c b/src/cc1111/ao_timer.c index 0acef562..a3d454da 100644 --- a/src/cc1111/ao_timer.c +++ b/src/cc1111/ao_timer.c @@ -62,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;