summaryrefslogtreecommitdiff
path: root/src/product/ao_micropeak.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-07-19 22:35:30 -0700
committerKeith Packard <keithp@keithp.com>2014-08-14 19:08:19 -0700
commitd8e2b661e895fc59ded002a02191dcccce75f548 (patch)
tree5a69b7438fe91a26f31d082b60c2af93ac4029b4 /src/product/ao_micropeak.h
parent59976c44d1b6ee6505cfa4efd9a26ec4302f6c33 (diff)
altos: Have MicroKite just start recording at startup
This avoids having MicroKite try to detect boost and has it just start recording data immediately. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/product/ao_micropeak.h')
-rw-r--r--src/product/ao_micropeak.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/product/ao_micropeak.h b/src/product/ao_micropeak.h
index 396b9a23..622f5a69 100644
--- a/src/product/ao_micropeak.h
+++ b/src/product/ao_micropeak.h
@@ -41,7 +41,9 @@
#endif
/* Wait after power on before doing anything to give the user time to assemble the rocket */
+#ifndef BOOST_DELAY
#define BOOST_DELAY AO_SEC_TO_TICKS(60)
+#endif
/* Pressure change (in Pa) to detect landing */
#define LAND_DETECT 24 /* 2m at sea level, 2.4m at 2000m */