mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +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