projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: Remove legacy telemetry from ao_monitor when not needed
[fw/altos]
/
src
/
core
/
ao.h
diff --git
a/src/core/ao.h
b/src/core/ao.h
index 87e69e192e7e99a551136184ef1af9549223c101..81d92e72b2d512483b4640a08cf9c1651a2abab3 100644
(file)
--- a/
src/core/ao.h
+++ b/
src/core/ao.h
@@
-558,8
+558,10
@@
extern const char const * const ao_state_names[];
union ao_monitor {
struct ao_telemetry_raw_recv raw;
struct ao_telemetry_all_recv all;
union ao_monitor {
struct ao_telemetry_raw_recv raw;
struct ao_telemetry_all_recv all;
+#if LEGACY_MONITOR
struct ao_telemetry_orig_recv orig;
struct ao_telemetry_tiny_recv tiny;
struct ao_telemetry_orig_recv orig;
struct ao_telemetry_tiny_recv tiny;
+#endif
};
extern __xdata union ao_monitor ao_monitor_ring[AO_MONITOR_RING];
};
extern __xdata union ao_monitor ao_monitor_ring[AO_MONITOR_RING];