projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1029a6e
)
altos/cc1111: Remove unneeded initialization in ao_timer.c
author
Keith Packard
<keithp@keithp.com>
Sun, 18 Dec 2016 04:57:38 +0000
(20:57 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 20 Feb 2017 19:22:21 +0000
(11:22 -0800)
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>
src/cc1111/ao_timer.c
patch
|
blob
|
history
diff --git
a/src/cc1111/ao_timer.c
b/src/cc1111/ao_timer.c
index 0acef562608f7760104ae230e837b7aa90856eb5..a3d454da252a75385bd0b5e30136dd3e92da5ffd 100644
(file)
--- 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;