Return radio to telemetry settings when packet system closed.
authorKeith Packard <keithp@keithp.com>
Fri, 6 Nov 2009 06:11:59 +0000 (22:11 -0800)
committerKeith Packard <keithp@keithp.com>
Fri, 6 Nov 2009 06:11:59 +0000 (22:11 -0800)
To receive telemetry after disabling the packet system, the radio must
be reconfigured for telemetry mode.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_packet_master.c

index f3a024c..a499ce5 100644 (file)
@@ -100,6 +100,7 @@ ao_packet_master(void)
                        ao_packet_master_sleeping = 0;
                }
        }
+       ao_radio_set_telemetry();
        ao_exit();
 }