summaryrefslogtreecommitdiff
path: root/ao_monitor.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-13 14:29:30 -0700
committerKeith Packard <keithp@keithp.com>2009-05-13 14:29:30 -0700
commitd085d43701e3cdd2119e947a9ae45baa78c80318 (patch)
treef4cf3593945017deeb21cb234760563fa1c9c455 /ao_monitor.c
parent055331d5f7d5adc40c348c3efd331a562dcda82a (diff)
Indicate RSSI with a blinking LED
Blink the red LED at a rate proportional to the RSSI value. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'ao_monitor.c')
-rw-r--r--ao_monitor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ao_monitor.c b/ao_monitor.c
index e05e84d8..5930afaa 100644
--- a/ao_monitor.c
+++ b/ao_monitor.c
@@ -55,6 +55,7 @@ ao_monitor(void)
recv.telemetry.adc.sense_d,
recv.telemetry.adc.sense_m);
ao_gps_print(&recv.telemetry.gps);
+ ao_rssi_set((int) recv.rssi - 74);
} else {
printf("CRC INVALID RSSI %3d\n", (int) recv.rssi - 74);
}