Copter: stop passing dataflash into handle_radio_status

This commit is contained in:
Peter Barker 2019-03-26 16:13:36 +11:00 committed by Randy Mackay
parent fda4487afe
commit 7a1648059b

View File

@ -1164,7 +1164,7 @@ void GCS_MAVLINK_Copter::handleMessage(mavlink_message_t* msg)
case MAVLINK_MSG_ID_RADIO:
case MAVLINK_MSG_ID_RADIO_STATUS: // MAV ID: 109
{
handle_radio_status(msg, copter.logger, copter.should_log(MASK_LOG_PM));
handle_radio_status(msg, copter.should_log(MASK_LOG_PM));
break;
}