diff options
| author | Keith Packard <keithp@keithp.com> | 2014-04-11 16:31:32 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-04-11 16:31:32 -0700 |
| commit | 7b275ddfe20f54857d7d1abb98607c406b678090 (patch) | |
| tree | 1e9da5afca798c22cc7bb4b8a3bca9763cbb92e2 /src/product | |
| parent | 99c729495a8cc589718607ee35d22454c6af2994 (diff) | |
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 <keithp@keithp.com>
Diffstat (limited to 'src/product')
| -rw-r--r-- | src/product/ao_micropeak.h | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
