summaryrefslogtreecommitdiff
path: root/src/telemega-v1.0
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-18 20:32:05 -0800
committerKeith Packard <keithp@keithp.com>2013-12-18 20:32:05 -0800
commitee4279613b4757453d0d8f8afc06037c61eeb520 (patch)
tree5aa198d54fa3c735f147aeb327738ee4c6a9b21f /src/telemega-v1.0
parent1bf84ec28a41f7bd1b11ba45b4639856266227bc (diff)
altos: Try IMU self-test 10 times before giving up
This should keep the device from failing to boot unless the IMU is actually broken. Oh, and if self test does fail, this places the flight computer in 'Invalid' state rather than panic. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/telemega-v1.0')
-rw-r--r--src/telemega-v1.0/ao_pins.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/telemega-v1.0/ao_pins.h b/src/telemega-v1.0/ao_pins.h
index 7ff676ea..95644dae 100644
--- a/src/telemega-v1.0/ao_pins.h
+++ b/src/telemega-v1.0/ao_pins.h
@@ -318,8 +318,7 @@ struct ao_adc {
#define AO_MPU6000_SPI_BUS AO_SPI_1_PE13_PE14_PE15
#define AO_MPU6000_SPI_CS_PORT (&stm_gpiod)
#define AO_MPU6000_SPI_CS_PIN 2
-
-#define HAS_HIGHG_ACCEL 1
+#define HAS_IMU 1
/*
* mma655x