mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Plane: check for EFI enable in messages
This commit is contained in:
parent
ca54c9f5e8
commit
33f49daada
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user