projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
237e853
)
altos: Fix config to not abort radio recv when no recv is available
author
Keith Packard
<keithp@keithp.com>
Tue, 26 Mar 2013 21:28:37 +0000
(14:28 -0700)
committer
Keith Packard
<keithp@keithp.com>
Tue, 26 Mar 2013 21:28:37 +0000
(14:28 -0700)
Use the new radio recv define to skip disabling the receiver when
there isn't a receiver.
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 0aac16a678ad1a6296bb1c4278bf5985bfbc0576..9c84fe60974dcf70be41a5c33ca85f2319243e2f 100644
(file)
--- a/
src/core/ao_config.c
+++ b/
src/core/ao_config.c
@@
-210,6
+210,7
@@
ao_config_callsign_set(void) __reentrant
}
#if HAS_RADIO
+
void
ao_config_frequency_show(void) __reentrant
{
@@
-227,7
+228,9
@@
ao_config_frequency_set(void) __reentrant
ao_config.frequency = ao_cmd_lex_u32;
ao_config_set_radio();
_ao_config_edit_finish();
+#if HAS_RADIO_RECV
ao_radio_recv_abort();
+#endif
}
#endif