projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4d931c
)
altos: Remove legacy telemetry from ao_monitor when not needed
author
Keith Packard
<keithp@keithp.com>
Thu, 1 Nov 2012 17:50:03 +0000
(10:50 -0700)
committer
Keith Packard
<keithp@keithp.com>
Thu, 1 Nov 2012 17:50:03 +0000
(10:50 -0700)
For products not supporting LEGACY_MONITOR, remove the (undefined)
structs from the ao_monitor union.
Signed-off-by: Keith Packard <keithp@keithp.com>
src/core/ao.h
patch
|
blob
|
history
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;
+#if LEGACY_MONITOR
struct ao_telemetry_orig_recv orig;
struct ao_telemetry_tiny_recv tiny;
+#endif
};
extern __xdata union ao_monitor ao_monitor_ring[AO_MONITOR_RING];