projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Record all failed sensors and report status at power up
[fw/altos]
/
src
/
drivers
/
ao_mpu6000.c
diff --git
a/src/drivers/ao_mpu6000.c
b/src/drivers/ao_mpu6000.c
index 8c85ab01fd82c00041128a9147e3f6a26f2caa39..c894239ec0e54ae0934781886c44a759e8bcc38b 100644
(file)
--- a/
src/drivers/ao_mpu6000.c
+++ b/
src/drivers/ao_mpu6000.c
@@
-305,7
+305,7
@@
_ao_mpu6000_setup(void)
}
if (st_tries == ST_TRIES)
-
ao_sensor_errors = 1
;
+
AO_SENSOR_ERROR(AO_DATA_MPU6000)
;
/* Filter to about 100Hz, which also sets the gyro rate to 1000Hz */
_ao_mpu6000_reg_write(MPU6000_CONFIG,