koenkooi / multiwii-firmware

Firmware - GitHub mirror of the official SVN multiwii project
https://github.com/multiwii/multiwii-firmware/wiki
13 stars 1 forks source link

HMC5883L not connected to MPU6050 #3

Closed koenkooi closed 10 years ago

koenkooi commented 10 years ago

The MPU6050 has a slave port for magnetometers, but according to the schematics the HMC Is connected to the at32u4 i2c port. The code disagrees and tells multiwii it's connected to the slave port:

def.h:1427:

define MPU6050_EN_I2C_BYPASS // MAG connected to the AUX I2C bus of MPU6050

gromain commented 10 years ago

I'll get in the code today and fix all that!

koenkooi commented 10 years ago

This was a one-liner fix, so I did it myself :)