From 687489f8588a3788d12ce84e3f294d386ee355b3 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Mon, 22 May 2023 17:15:36 +1000 Subject: [PATCH] AP_EFI: Update EGT for Currawong ECU - Currawong ECU does not report EGT - Change to report this value as NAN --- libraries/AP_EFI/AP_EFI_Currawong_ECU.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_EFI/AP_EFI_Currawong_ECU.cpp b/libraries/AP_EFI/AP_EFI_Currawong_ECU.cpp index 9aa69e78a7..c7ebcaa98f 100644 --- a/libraries/AP_EFI/AP_EFI_Currawong_ECU.cpp +++ b/libraries/AP_EFI/AP_EFI_Currawong_ECU.cpp @@ -33,9 +33,14 @@ AP_EFI_Currawong_ECU::AP_EFI_Currawong_ECU(AP_EFI &_frontend) : AP_EFI_Backend(_frontend) { _singleton = this; + // Indicate that temperature and fuel pressure are supported internal_state.fuel_pressure_status = Fuel_Pressure_Status::OK; internal_state.temperature_status = Temperature_Status::OK; + + // Currawong ECU does not report EGT + internal_state.cylinder_status.exhaust_gas_temperature = NAN; + } void AP_EFI_Currawong_ECU::update()