AP_EFI: Update EGT for Currawong ECU

- Currawong ECU does not report EGT
- Change to report this value as NAN
This commit is contained in:
Oliver Walters 2023-05-22 17:15:36 +10:00 committed by Andrew Tridgell
parent e1e2d68815
commit 687489f858
1 changed files with 5 additions and 0 deletions

View File

@ -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()