forked from Archive/PX4-Autopilot
Update apps/drivers/mpu6000/mpu6000.cpp
Don't call ::close on ORB publication handles.
This commit is contained in:
parent
a2aa9dd8fd
commit
a8451a2d18
|
@ -450,7 +450,6 @@ MPU6000::init()
|
|||
int gyro_ret = _gyro->init();
|
||||
|
||||
if (gyro_ret != OK) {
|
||||
::close(_gyro_topic);
|
||||
_gyro_topic = -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue