summaryrefslogtreecommitdiff
path: root/src/test/Makefile
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2012-11-30 20:51:47 -0800
committerKeith Packard <keithp@keithp.com>2012-11-30 20:51:47 -0800
commit5f6b3790667d9b92370b4fe0dad5626929fea2ba (patch)
tree9754433d3805dd0104c768c8e77014de76ca0e5f /src/test/Makefile
parentdd8b2eadab12965d232640449b1d1c9f2484238c (diff)
altos: Make skytraq reflashing code try both 9600 and 4800 baud
This lets it communicate with the ROM code which boots at 4800 baud instead of 9600 baud. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/test/Makefile')
-rw-r--r--src/test/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/Makefile b/src/test/Makefile
index 44cee904..0dcdc949 100644
--- a/src/test/Makefile
+++ b/src/test/Makefile
@@ -29,7 +29,7 @@ ao_flight_test_accel: ao_flight_test.c ao_host.h ao_flight.c ao_sample.c ao_kal
cc $(CFLAGS) -o $@ -DFORCE_ACCEL=1 ao_flight_test.c
ao_flight_test_mm: ao_flight_test.c ao_host.h ao_flight.c ao_sample.c ao_kalman.c $(INCS)
- cc -DMEGAMETRUM=1 $(CFLAGS) -o $@ $<
+ cc -DMEGAMETRUM=1 $(CFLAGS) -o $@ $< -lm
ao_gps_test: ao_gps_test.c ao_gps_sirf.c ao_gps_print.c ao_host.h
cc $(CFLAGS) -o $@ $<