diff options
author | Keith Packard <keithp@keithp.com> | 2013-05-14 10:48:24 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-05-15 22:13:08 -0700 |
commit | 0571531066918fdefe9447f3b4192d0c6c477afa (patch) | |
tree | 56baba6c8640d7c243a9fb7bea8f73f57747b7b0 /src/core/ao_cmd.c | |
parent | 9beacd77b3e8106e036e50a67312dfee414fbc51 (diff) |
altos: Grab SPI mutex until MPU6000 I2C mode is disabled
If other drivers use the SPI bus, the MPU6000 gets confused as its
sitting on the bus looking for I2C messages. Just grab the mutex
before the OS is running and hold onto it until the MPU6000 has been initialized.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/core/ao_cmd.c')
0 files changed, 0 insertions, 0 deletions