Merge pull request #672 from PX4/hotfix_mpu6000

MPU6000: gyro topic was not initialized
This commit is contained in:
Thomas Gubler 2014-02-16 12:27:05 +01:00
commit 978cac4992
1 changed files with 1 additions and 0 deletions

View File

@ -1353,6 +1353,7 @@ MPU6000::print_info()
MPU6000_gyro::MPU6000_gyro(MPU6000 *parent) :
CDev("MPU6000_gyro", MPU_DEVICE_PATH_GYRO),
_parent(parent),
_gyro_topic(-1),
_gyro_class_instance(-1)
{
}