GCS_Common: brackets missing in switch case

This commit is contained in:
olliw42 2023-08-10 13:30:44 +02:00 committed by Tom Pittenger
parent 47efaf9c62
commit 2f58d082f0

View File

@ -4108,11 +4108,13 @@ void GCS_MAVLINK::handle_common_message(const mavlink_message_t &msg)
#if AP_EFI_MAV_ENABLED
case MAVLINK_MSG_ID_EFI_STATUS:
AP_EFI *efi = AP::EFI();
if (efi) {
efi->handle_EFI_message(msg);
}
break;
{
AP_EFI *efi = AP::EFI();
if (efi) {
efi->handle_EFI_message(msg);
}
break;
}
#endif
}