summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-05-18 20:04:57 -0700
committerKeith Packard <keithp@keithp.com>2012-05-18 20:19:01 -0700
commit5d8b9d524d6424ff98dcc4155fe8b8bd892b6d8f (patch)
tree98a4698176483f6a1e310f1f844576c806aea71a /src/test
parent1541fc0bde71f503b1ae5757497e9e1e6d023111 (diff)
altos: Add conversion between Pa and meters
To be used with the MS5607 which generates data in calibrated units. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/Makefile b/src/test/Makefile
index 4e403da6..3c2b8732 100644
--- a/src/test/Makefile
+++ b/src/test/Makefile
@@ -1,6 +1,6 @@
vpath % ..:../core:../drivers:../util
-PROGS=ao_flight_test ao_flight_test_baro ao_flight_test_accel ao_flight_test_noisy_accel ao_gps_test ao_gps_test_skytraq ao_convert_test
+PROGS=ao_flight_test ao_flight_test_baro ao_flight_test_accel ao_flight_test_noisy_accel ao_gps_test ao_gps_test_skytraq ao_convert_test ao_convert_pa_test
KALMAN=make-kalman
@@ -34,5 +34,8 @@ ao_gps_test_skytraq: ao_gps_test_skytraq.c ao_gps_skytraq.c ao_gps_print.c ao_ho
ao_convert_test: ao_convert_test.c ao_convert.c altitude.h
cc $(CFLAGS) -o $@ $<
+ao_convert_pa_test: ao_convert_pa_test.c ao_convert_pa.c altitude-pa.h
+ cc $(CFLAGS) -o $@ $<
+
ao_kalman.h: $(KALMAN)
(cd .. && make ao_kalman.h) \ No newline at end of file