diff options
author | Keith Packard <keithp@keithp.com> | 2010-01-09 22:06:19 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-01-09 22:06:19 -0800 |
commit | 0c2533be15858774ef9381aa8c8344356fd5b971 (patch) | |
tree | 944069b9136942dc9bfde3cdcba4547e648050f8 /src/ao.h | |
parent | 28346736a7799c0767e54511d9949cd61d35e471 (diff) |
Force idle mode by shorting the SPI clock to ground at boot time.
This allows you to override the flight mode detection code in case the
accelerometer calibration is broken somehow. Hold the SPI clock shoted
to ground until the LED comes on, then remove it.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r-- | src/ao.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -618,6 +618,7 @@ extern __pdata int16_t ao_ground_pres; extern __pdata int16_t ao_ground_accel; extern __pdata int16_t ao_min_pres; extern __pdata uint16_t ao_launch_time; +extern __xdata uint8_t ao_flight_force_idle; /* Flight thread */ void |