diff --git a/Tools/AP_Periph/AP_Periph.cpp b/Tools/AP_Periph/AP_Periph.cpp index 7fe5f4dd39..b4e707d0b2 100644 --- a/Tools/AP_Periph/AP_Periph.cpp +++ b/Tools/AP_Periph/AP_Periph.cpp @@ -422,10 +422,8 @@ void AP_Periph_FW::update() rcout_init_1Hz(); #endif -#if HAL_GCS_ENABLED - gcs().send_message(MSG_HEARTBEAT); - gcs().send_message(MSG_SYS_STATUS); -#endif + GCS_SEND_MESSAGE(MSG_HEARTBEAT); + GCS_SEND_MESSAGE(MSG_SYS_STATUS); } static uint32_t last_error_ms;