mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Accidental semicolon led to MPU6000 always failing self test. Another bug
masked that behavior. I suck.
This commit is contained in:
parent
a029fc4656
commit
01d47d6373
@ -361,7 +361,7 @@ int32_t PIOS_MPU6000_Test(void)
|
||||
if(mpu6000_id < 0)
|
||||
return -1;
|
||||
|
||||
if(mpu6000_id != 0x68);
|
||||
if(mpu6000_id != 0x68)
|
||||
return -2;
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user