ivanovishx / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

I2C_IF_DIS in the MPU6000 code is being set to 1 instead of 0 #794

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change "#define BIT_I2C_IF_DIS              0x10" in 
AP_InertialSensor_MPU6000.cpp to something else, where the fifth bit is being 
set to zero. Perhaps 0x00

What is the expected output? What do you see instead?

Unsure.

What version of the product are you using? On what operating system?

Not using the product. came across the bug while researching how others are 
configuring this sensor.

Please provide any additional information below.

The data sheet says explicitly to set the bit to zero, and I believe that was 
the intent of this code, however the opposite is being done.

Original issue reported on code.google.com by kba...@gmail.com on 3 Nov 2012 at 5:46