Merge pull request #363 from PX4/hotfix_config

Fixed accel self test
This commit is contained in:
Lorenz Meier 2013-08-20 01:55:03 -07:00
commit b7cc1c880f
1 changed files with 2 additions and 0 deletions

View File

@ -689,6 +689,8 @@ MPU6000::accel_self_test()
return 1;
if (fabsf(_accel_scale.z_scale - 1.0f) > 0.4f || fabsf(_accel_scale.z_scale - 1.0f) < 0.000001f)
return 1;
return 0;
}
int