mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 07:33:34 +08:00
Update apps/drivers/mpu6000/mpu6000.cpp
Don't call ::close on ORB publication handles.
This commit is contained in:
@@ -450,7 +450,6 @@ MPU6000::init()
|
||||
int gyro_ret = _gyro->init();
|
||||
|
||||
if (gyro_ret != OK) {
|
||||
::close(_gyro_topic);
|
||||
_gyro_topic = -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user