mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: allow more libraries to compile with no HAL_GCS_ENABLED
This commit is contained in:
parent
9654f282da
commit
9f0c60b413
|
@ -65,7 +65,7 @@ AP_RangeFinder_DroneCAN* AP_RangeFinder_DroneCAN::get_dronecan_backend(AP_DroneC
|
|||
if (driver == nullptr) {
|
||||
break;
|
||||
}
|
||||
gcs().send_text(MAV_SEVERITY_INFO, "RangeFinder[%u]: added DroneCAN node %u addr %u",
|
||||
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "RangeFinder[%u]: added DroneCAN node %u addr %u",
|
||||
unsigned(i), unsigned(node_id), unsigned(address));
|
||||
//Assign node id and respective uavcan driver, for identification
|
||||
if (driver->_ap_dronecan == nullptr) {
|
||||
|
|
Loading…
Reference in New Issue