From 7b275ddfe20f54857d7d1abb98607c406b678090 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 11 Apr 2014 16:31:32 -0700 Subject: altos: Add 'microwater' product This is a custom firmware spin for micropeak designed for use with water rockets that sets the boost detect altitude to 10m instead of 30m. Signed-off-by: Keith Packard --- src/product/ao_micropeak.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/product') diff --git a/src/product/ao_micropeak.h b/src/product/ao_micropeak.h index 0cefca6f..0ec407d7 100644 --- a/src/product/ao_micropeak.h +++ b/src/product/ao_micropeak.h @@ -25,7 +25,9 @@ #define GROUND_AVG (1 << GROUND_AVG_SHIFT) /* Pressure change (in Pa) to detect boost */ +#ifndef BOOST_DETECT #define BOOST_DETECT 360 /* 30m at sea level, 36m at 2000m */ +#endif /* Wait after power on before doing anything to give the user time to assemble the rocket */ #define BOOST_DELAY AO_SEC_TO_TICKS(60) -- cgit v1.2.3