diff options
author | Keith Packard <keithp@keithp.com> | 2016-12-17 20:57:38 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-02-20 11:22:21 -0800 |
commit | 61f729567ff6355ab52c3e83399761103022a41a (patch) | |
tree | fc0fbf17e9a800c9150d67033e3a3e610d7aa089 /src | |
parent | 1029a6e4a61b20698e00e29fc0c8c3877f1e7b0f (diff) |
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 <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cc1111/ao_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |