diff options
author | Keith Packard <keithp@keithp.com> | 2012-11-01 10:50:03 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-11-01 10:50:03 -0700 |
commit | f74d724f92b335d6c0674d0f1fcc650b729401df (patch) | |
tree | 6a1b2fd0ccd3e325f1b75aa7cba515ef85517ddd /src | |
parent | e4d931cd99a7c91803584b71670e30c0d00217df (diff) |
altos: Remove legacy telemetry from ao_monitor when not needed
For products not supporting LEGACY_MONITOR, remove the (undefined)
structs from the ao_monitor union.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ao.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ao.h b/src/core/ao.h index 87e69e19..81d92e72 100644 --- 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]; |