mirror of https://github.com/ArduPilot/ardupilot
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:
parent
e1e2d68815
commit
687489f858
|
@ -33,9 +33,14 @@ AP_EFI_Currawong_ECU::AP_EFI_Currawong_ECU(AP_EFI &_frontend) :
|
||||||
AP_EFI_Backend(_frontend)
|
AP_EFI_Backend(_frontend)
|
||||||
{
|
{
|
||||||
_singleton = this;
|
_singleton = this;
|
||||||
|
|
||||||
// Indicate that temperature and fuel pressure are supported
|
// Indicate that temperature and fuel pressure are supported
|
||||||
internal_state.fuel_pressure_status = Fuel_Pressure_Status::OK;
|
internal_state.fuel_pressure_status = Fuel_Pressure_Status::OK;
|
||||||
internal_state.temperature_status = Temperature_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()
|
void AP_EFI_Currawong_ECU::update()
|
||||||
|
|
Loading…
Reference in New Issue