mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
committing before tearing stuff up
git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@114 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
parent
07be618756
commit
0f6a75af4a
2 changed files with 53 additions and 36 deletions
|
@ -30,7 +30,7 @@ void mpu3050Init(void)
|
|||
bool ack;
|
||||
|
||||
delay(25); // datasheet page 13 says 20ms. other stuff could have been running meanwhile. but we'll be safe
|
||||
|
||||
|
||||
ack = i2cWrite(MPU3050_ADDRESS, MPU3050_SMPLRT_DIV, 0);
|
||||
if (!ack)
|
||||
failureMode(3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue