GCS_MAVLink: disable CANTester by default
This commit is contained in:
parent
c0188fbf0e
commit
e996392671
@ -4060,7 +4060,7 @@ MAV_RESULT GCS_MAVLINK::handle_command_preflight_can(const mavlink_command_long_
|
||||
}
|
||||
case AP_CANManager::Driver_Type_CANTester: {
|
||||
// To be replaced with macro saying if KDECAN library is included
|
||||
#if (APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_ArduSub)) && (HAL_MAX_CAN_PROTOCOL_DRIVERS > 1 && !HAL_MINIMIZE_FEATURES)
|
||||
#if (APM_BUILD_COPTER_OR_HELI || APM_BUILD_TYPE(APM_BUILD_ArduPlane) || APM_BUILD_TYPE(APM_BUILD_ArduSub)) && (HAL_MAX_CAN_PROTOCOL_DRIVERS > 1 && !HAL_MINIMIZE_FEATURES && HAL_ENABLE_CANTESTER)
|
||||
CANTester *cantester = CANTester::get_cantester(i);
|
||||
|
||||
if (cantester != nullptr) {
|
||||
|
Loading…
Reference in New Issue
Block a user