summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-07-11 13:53:30 -0700
committerKeith Packard <keithp@keithp.com>2012-07-11 13:53:30 -0700
commit846a6298e4a8bfbe87bb24d7b0802c0bf6f233be (patch)
tree246ac4909f2317dbee456a3b17ae47b9220fab50 /src/core
parentcf44ea354c2d1780cee343132c6058e11e9eefa3 (diff)
Report RSSI values in monitor idle UI (trac #44)
This adds a new 's' command to TeleDongle to report RSSI value from last received packet, and then has AltosUI request that value when closing the remote link. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ao_packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao_packet.h b/src/core/ao_packet.h
index 618ccda4..f232a878 100644
--- a/src/core/ao_packet.h
+++ b/src/core/ao_packet.h
@@ -67,6 +67,8 @@ ao_packet_pollchar(void) __critical;
#if PACKET_HAS_MASTER
/* ao_packet_master.c */
+extern __xdata uint8_t ao_packet_last_rssi;
+
void
ao_packet_master_init(void);
#endif