diff options
author | Keith Packard <keithp@keithp.com> | 2014-07-08 23:46:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-07-09 00:26:03 -0700 |
commit | d926ccfbd4596eb3f981d2fcf8f6fc6ccc427db6 (patch) | |
tree | 44da918a3afa58059aa78fc1396b6d9fe35ea055 /src/kernel | |
parent | 1a55cbe1923280f7009c13d5eb5b2ccac89219c2 (diff) |
altos: Add smaller pa to altitude table for TeleMini
TeleMini doesn't have space for the larger table, and the smaller one
isn't that much less accurate at lower altitudes.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/ao_convert_pa.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/ao_convert_pa.c b/src/kernel/ao_convert_pa.c index fe6e0ef6..20162c1f 100644 --- a/src/kernel/ao_convert_pa.c +++ b/src/kernel/ao_convert_pa.c @@ -24,7 +24,11 @@ #endif static const alt_t altitude_table[] AO_CONST_ATTRIB = { +#if AO_SMALL_ALTITUDE_TABLE +#include "altitude-pa-small.h" +#else #include "altitude-pa.h" +#endif }; #ifndef FETCH_ALT |