altos: Try to fix MPU6000 SPI mode
authorKeith Packard <keithp@keithp.com>
Wed, 15 May 2013 01:52:15 +0000 (18:52 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 15 May 2013 01:52:15 +0000 (18:52 -0700)
commit0dead06bb474234ee32c0d5b73acdf85088cd5a2
tree9dcd68c5a27ce71f5bf1e9063ba984e5587eaf38
parent642b7c50f568c5f4499f51a61d203c9471787b6b
altos: Try to fix MPU6000 SPI mode

Hold the SPI mutex after boot and until the I2C mode has been disabled

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_mpu6000.c
src/drivers/ao_mpu6000.h
src/stm/ao_arch_funcs.h