GCS_MAVLink: use HAL_EFI_ENABLED

This commit is contained in:
Andrew Tridgell 2021-06-08 14:17:08 +10:00
parent 6a1e3afe33
commit 6c24a030a6

View File

@ -5054,7 +5054,7 @@ bool GCS_MAVLINK::try_send_message(const enum ap_message id)
break; break;
case MSG_EFI_STATUS: { case MSG_EFI_STATUS: {
#if EFI_ENABLED #if HAL_EFI_ENABLED
CHECK_PAYLOAD_SIZE(EFI_STATUS); CHECK_PAYLOAD_SIZE(EFI_STATUS);
AP_EFI *efi = AP::EFI(); AP_EFI *efi = AP::EFI();
if (efi) { if (efi) {