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:
e11fcc2
)
altos: cc115l driver tone_run wasn't recording number of tones
author
Keith Packard
<keithp@keithp.com>
Sat, 21 Dec 2013 06:59:42 +0000
(22:59 -0800)
committer
Keith Packard
<keithp@keithp.com>
Sat, 21 Dec 2013 06:59:42 +0000
(22:59 -0800)
This would prevent the cc115l driver from ever sending tones.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_cc115l.c
patch
|
blob
|
history
diff --git
a/src/drivers/ao_cc115l.c
b/src/drivers/ao_cc115l.c
index 5d4f3bd666892160699fdb7c7dc758b1e53465f8..f0f72d4d4f294d2ec02fd020827556cc7ced6d1c 100644
(file)
--- a/
src/drivers/ao_cc115l.c
+++ b/
src/drivers/ao_cc115l.c
@@
-564,6
+564,7
@@
ao_radio_tone_run(struct ao_radio_tone *tones, int ntones)
ao_radio_tone = tones;
ao_radio_tone_current = 0;
ao_radio_tone_offset = 0;
+ ao_radio_tone_count = ntones;
_ao_radio_send_lots(ao_radio_tone_fill, AO_RADIO_MODE_RDF);
ao_radio_put();
}