diff options
author | Keith Packard <keithp@keithp.com> | 2012-07-10 20:32:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-07-10 20:32:31 -0700 |
commit | aafa8859ecb27383f697b98f6991643b44f4721a (patch) | |
tree | ba6e7a61539bf9f6253b184b23882829e31a3758 /src/test/ao_flight_test.c | |
parent | a60c5a728530e4659a6750d8d5b87000735d4531 (diff) |
altos: Save some memory.
A few minor space savings in ao_cmd.c and ao_config.c. Don't build
unused conversion functions ao_altitude_to_pres and ao_temp_to_dC
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test/ao_flight_test.c')
-rw-r--r-- | src/test/ao_flight_test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/ao_flight_test.c b/src/test/ao_flight_test.c index 9bb03d68..a4ef8dc0 100644 --- a/src/test/ao_flight_test.c +++ b/src/test/ao_flight_test.c @@ -180,6 +180,7 @@ struct ao_cmds { #define ao_xmemset(d,v,c) memset(d,v,c) #define ao_xmemcmp(d,s,c) memcmp(d,s,c) +#define AO_NEED_ALTITUDE_TO_PRES 1 #include "ao_convert.c" struct ao_config { |