MPU6000: gyro topic was not initialized

This commit is contained in:
Julian Oes 2014-02-16 12:18:22 +01:00
parent 08f1e6a9dc
commit 1be3ea4f4e
1 changed files with 1 additions and 0 deletions

View File

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