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 f3a024caa78433696b156e03bfb1239638c3dbbc..a499ce59d055e672580dd08136cf5a513a8554b7 100644 (file)
@@ -100,6 +100,7 @@ ao_packet_master(void)
                        ao_packet_master_sleeping = 0;
                }
        }
+       ao_radio_set_telemetry();
        ao_exit();
 }