summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-08 23:46:24 -0700
committerKeith Packard <keithp@keithp.com>2014-07-09 00:26:03 -0700
commitd926ccfbd4596eb3f981d2fcf8f6fc6ccc427db6 (patch)
tree44da918a3afa58059aa78fc1396b6d9fe35ea055 /src/Makefile
parent1a55cbe1923280f7009c13d5eb5b2ccac89219c2 (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/Makefile')
-rw-r--r--src/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index df7a31ee..a7a26b26 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -98,7 +98,7 @@ uninstall:
all-recursive: all-local
-all-local: altitude.h altitude-pa.h ao_kalman.h ao_whiten.h $(PDCLIB)
+all-local: altitude.h altitude-pa.h altitude-pa-small.h ao_kalman.h ao_whiten.h $(PDCLIB)
altitude.h: make-altitude
nickle $< > $@
@@ -106,6 +106,9 @@ altitude.h: make-altitude
altitude-pa.h: make-altitude-pa
nickle $< > $@
+altitude-pa-small.h: make-altitude-pa
+ nickle $< --sample 3 > $@
+
ao_kalman.h: make-kalman kalman.5c kalman_filter.5c load_csv.5c matrix.5c
bash $< kalman > $@