Copter: enable send of EFI_STATUS

This commit is contained in:
Andrew Tridgell 2022-10-22 07:46:15 +11:00 committed by Randy Mackay
parent 33f49daada
commit 85e5ddca5e
1 changed files with 4 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#include "GCS_Mavlink.h" #include "GCS_Mavlink.h"
#include <AP_RPM/AP_RPM_config.h> #include <AP_RPM/AP_RPM_config.h>
#include <AP_EFI/AP_EFI_config.h>
MAV_TYPE GCS_Copter::frame_type() const MAV_TYPE GCS_Copter::frame_type() const
{ {
@ -541,6 +542,9 @@ static const ap_message STREAM_EXTRA3_msgs[] = {
MSG_ESC_TELEMETRY, MSG_ESC_TELEMETRY,
MSG_GENERATOR_STATUS, MSG_GENERATOR_STATUS,
MSG_WINCH_STATUS, MSG_WINCH_STATUS,
#if HAL_EFI_ENABLED
MSG_EFI_STATUS,
#endif
}; };
static const ap_message STREAM_PARAMS_msgs[] = { static const ap_message STREAM_PARAMS_msgs[] = {
MSG_NEXT_PARAM MSG_NEXT_PARAM