Plane: check for EFI enable in messages

This commit is contained in:
Andrew Tridgell 2022-10-22 07:46:05 +11:00 committed by Randy Mackay
parent ca54c9f5e8
commit 33f49daada

View File

@ -3,6 +3,7 @@
#include "Plane.h" #include "Plane.h"
#include <AP_RPM/AP_RPM_config.h> #include <AP_RPM/AP_RPM_config.h>
#include <AP_Airspeed/AP_Airspeed_config.h> #include <AP_Airspeed/AP_Airspeed_config.h>
#include <AP_EFI/AP_EFI_config.h>
MAV_TYPE GCS_Plane::frame_type() const MAV_TYPE GCS_Plane::frame_type() const
{ {
@ -622,7 +623,9 @@ static const ap_message STREAM_EXTRA1_msgs[] = {
MSG_PID_TUNING, MSG_PID_TUNING,
MSG_LANDING, MSG_LANDING,
MSG_ESC_TELEMETRY, MSG_ESC_TELEMETRY,
#if HAL_EFI_ENABLED
MSG_EFI_STATUS, MSG_EFI_STATUS,
#endif
#if AP_AIRSPEED_HYGROMETER_ENABLE #if AP_AIRSPEED_HYGROMETER_ENABLE
MSG_HYGROMETER, MSG_HYGROMETER,
#endif #endif