Plane: check for EFI enable in messages

This commit is contained in:
Andrew Tridgell 2022-10-22 07:46:05 +11:00
parent f61aa5f0b9
commit 7167f32b11
1 changed files with 3 additions and 0 deletions

View File

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