Tools: allow more libraries to compile with no HAL_GCS_ENABLED

This commit is contained in:
Peter Barker 2023-09-02 15:21:36 +10:00 committed by Peter Barker
parent d47a742272
commit d27bb9d606

View File

@ -422,10 +422,8 @@ void AP_Periph_FW::update()
rcout_init_1Hz(); rcout_init_1Hz();
#endif #endif
#if HAL_GCS_ENABLED GCS_SEND_MESSAGE(MSG_HEARTBEAT);
gcs().send_message(MSG_HEARTBEAT); GCS_SEND_MESSAGE(MSG_SYS_STATUS);
gcs().send_message(MSG_SYS_STATUS);
#endif
} }
static uint32_t last_error_ms; static uint32_t last_error_ms;