diff options
author | Keith Packard <keithp@keithp.com> | 2013-12-20 22:59:42 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-12-20 22:59:42 -0800 |
commit | 48f996a9d65631238b4de446530f31f83acb99f5 (patch) | |
tree | c7e828989c873406445a97223ef9a3c29fcf5fa3 | |
parent | e11fcc299f4a1a0461a3442ca13f8984d76c30ff (diff) |
altos: cc115l driver tone_run wasn't recording number of tones
This would prevent the cc115l driver from ever sending tones.
Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r-- | src/drivers/ao_cc115l.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/ao_cc115l.c b/src/drivers/ao_cc115l.c index 5d4f3bd6..f0f72d4d 100644 --- 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(); } |