Skip to content

Commit

Permalink
Merge pull request #672 from PX4/hotfix_mpu6000
Browse files Browse the repository at this point in the history
MPU6000: gyro topic was not initialized
  • Loading branch information
thomasgubler committed Feb 16, 2014
2 parents 08f1e6a + 1be3ea4 commit 978cac4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/drivers/mpu6000/mpu6000.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}
Expand Down

0 comments on commit 978cac4

Please sign in to comment.