summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-06-22 12:26:45 -0700
committerKeith Packard <keithp@keithp.com>2011-06-27 19:16:42 -0700
commit0e67b6890dd3a06665239f8dfd2e69266d055e46 (patch)
tree8baa7f8b8f18cc6b558590efcd7d1642804228a7 /src/ao.h
parentdc0b49dcbaa2d0a69e002c151337b6e9fd3060d9 (diff)
altos: Rename telemetry to telemetry_orig
This makes room to create a new multi-packet telemetry format without changing anything yet. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r--src/ao.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/ao.h b/src/ao.h
index 600c488a..b6a987e3 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -1079,10 +1079,11 @@ struct ao_telemetry_tiny {
/*
* ao_radio_recv tacks on rssi and status bytes
*/
-struct ao_telemetry_recv {
- struct ao_telemetry telemetry;
- int8_t rssi;
- uint8_t status;
+
+struct ao_telemetry_orig_recv {
+ struct ao_telemetry_orig telemetry_orig;
+ int8_t rssi;
+ uint8_t status;
};
struct ao_telemetry_tiny_recv {
@@ -1104,7 +1105,7 @@ void
ao_rdf_set(uint8_t rdf);
void
-ao_telemetry_init(void);
+ao_telemetry_orig_init(void);
void
ao_telemetry_tiny_init(void);
@@ -1160,7 +1161,7 @@ void
ao_monitor(void);
#define AO_MONITORING_OFF 0
-#define AO_MONITORING_FULL 1
+#define AO_MONITORING_ORIG 1
#define AO_MONITORING_TINY 2
void