AP_Mount: correct compilation when GCS_SEND_TEXT not available

This commit is contained in:
Peter Barker 2024-01-04 12:00:06 +11:00 committed by Peter Barker
parent 82fe13bc00
commit c443d19ab1
1 changed files with 2 additions and 0 deletions

View File

@ -479,6 +479,8 @@ void AP_Mount_Siyi::process_packet()
sev = MAV_SEVERITY_WARNING;
break;
}
(void)msg; // in case GCS_SEND_TEXT not available
(void)sev; // in case GCS_SEND_TEXT not available
GCS_SEND_TEXT(sev, "Siyi: recording %s", msg);
}