mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-17 16:27:35 +08:00
ll40ls: forgot to remove commented out stuff in PWM driver
This commit is contained in:
@@ -106,10 +106,6 @@ int LidarLitePWM::init()
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
//struct range_finder_report empty_report;
|
||||
//memset(&empty_report, 0, sizeof(empty_report));
|
||||
//_rangePub = orb_advertise(ORB_ID(sensor_range_finder), &empty_report);
|
||||
|
||||
_class_instance = register_class_devname(RANGE_FINDER_BASE_DEVICE_PATH);
|
||||
|
||||
if (_class_instance == CLASS_DEVICE_PRIMARY) {
|
||||
@@ -124,10 +120,6 @@ int LidarLitePWM::init()
|
||||
}
|
||||
}
|
||||
|
||||
//if (_rangePub < 0) {
|
||||
// debug("failed to create sensor_range_finder object. Did you start uOrb?");
|
||||
//}
|
||||
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user