projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c711940
)
altos: Force radio channel to zero when setting frequency
author
Keith Packard
<keithp@keithp.com>
Sat, 7 Apr 2012 07:25:50 +0000
(
00:25
-0700)
committer
Keith Packard
<keithp@keithp.com>
Sat, 7 Apr 2012 07:25:50 +0000
(
00:25
-0700)
Otherwise, the actual radio frequency will include the channel offset,
which is not useful.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao_config.c
patch
|
blob
|
history
diff --git
a/src/core/ao_config.c
b/src/core/ao_config.c
index 1dafab8dc0a5b8bdbe4a0063b9e7cbc345765537..2d3d2870459715838f3bbdb8fcdd69b269b3d821 100644
(file)
--- a/
src/core/ao_config.c
+++ b/
src/core/ao_config.c
@@
-218,6
+218,7
@@
ao_config_frequency_set(void) __reentrant
return;
_ao_config_edit_start();
ao_config.frequency = ao_cmd_lex_u32;
+ ao_config.radio_channel = 0;
ao_config_set_radio();
_ao_config_edit_finish();
ao_radio_recv_abort();