diff options
author | Keith Packard <keithp@keithp.com> | 2009-12-19 14:03:11 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-12-19 14:14:40 -0800 |
commit | 598d168bd6552c3756e4b0267de44147eadab9f6 (patch) | |
tree | adf8f22af37c29ebeb1610987b7f1466e85de5b0 /src/ao_radio.c | |
parent | d4cf1446680d8b47396bcda338e8df7af395d102 (diff) |
Disable monitor mode before attempting radio test.
If monitor mode is left active, then the radio lock will not be able
to be acquired for the radio test.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao_radio.c')
-rw-r--r-- | src/ao_radio.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao_radio.c b/src/ao_radio.c index 1a0cf4fa..bb19c6a9 100644 --- a/src/ao_radio.c +++ b/src/ao_radio.c @@ -448,6 +448,7 @@ ao_radio_rdf_abort(void) void ao_radio_test(void) { + ao_set_monitor(0); ao_packet_slave_stop(); ao_radio_get(); printf ("Hit a character to stop..."); flush(); |