altos: remove monitor disable stubs from altimeter code
authorKeith Packard <keithp@keithp.com>
Thu, 11 Aug 2011 23:11:34 +0000 (16:11 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 11 Aug 2011 23:11:34 +0000 (16:11 -0700)
commit640422c028a2be898aa3a9048a0f6fad2e43dd8d
tree38c0239bd28dbdeb50ed3d30c3f645a832ec8b22
parent1d13460412046c53f36466193329caaa657bb278
altos: remove monitor disable stubs from altimeter code

Monitor mode in the ground-station boards must be disabled when the
radio is going to be used for another purpose, or the radio parameters
changed. That places monitor-mode disable calls in other parts of the
system which are shared with the altimeter code.

Elide the ao_set_monitor calls for builds which do not include any
monitoring code.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_monitor.c
src/ao_packet_master.c
src/ao_pins.h
src/ao_radio.c
src/ao_telemetrum.c
src/ao_telemini.c
src/ao_telenano.c