Update apps/drivers/mpu6000/mpu6000.cpp

Don't call ::close on ORB publication handles.
This commit is contained in:
px4dev
2012-12-23 11:24:54 -08:00
parent a2aa9dd8fd
commit a8451a2d18
-1
View File
@@ -450,7 +450,6 @@ MPU6000::init()
int gyro_ret = _gyro->init();
if (gyro_ret != OK) {
::close(_gyro_topic);
_gyro_topic = -1;
}