AC_Fence: allow more libraries to compile with no HAL_GCS_ENABLED

This commit is contained in:
Peter Barker 2023-09-02 15:21:34 +10:00 committed by Peter Barker
parent ee1ce32ead
commit 0311aea4a5
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ void AC_Fence::record_breach(uint8_t fence_type)
// emit a message indicated we're newly-breached, but not too often
if (now - _last_breach_notify_sent_ms > 1000) {
_last_breach_notify_sent_ms = now;
gcs().send_message(MSG_FENCE_STATUS);
GCS_SEND_MESSAGE(MSG_FENCE_STATUS);
}
}