summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b0b99f3)
If telemetry monitoring is already on, then there isn't any point, and
if it's not on, then presumably there isn't any radio work to abort.
Signed-off-by: Keith Packard <keithp@keithp.com>
{
ao_monitoring = monitoring;
ao_wakeup(&ao_monitoring);
{
ao_monitoring = monitoring;
ao_wakeup(&ao_monitoring);
+ if (!ao_monitoring)
+ ao_radio_abort();