AP_EFI: Correct a bad conversion from Kelvin to Celsius
(was off by 0.15 degrees)
This commit is contained in:
parent
dff6a5bff9
commit
15fd8480f8
@ -225,8 +225,8 @@ void AP_EFI::send_mavlink_status(mavlink_channel_t chan)
|
||||
state.spark_dwell_time_ms,
|
||||
state.atmospheric_pressure_kpa,
|
||||
state.intake_manifold_pressure_kpa,
|
||||
(state.intake_manifold_temperature - 273.0f),
|
||||
(state.cylinder_status[0].cylinder_head_temperature - 273.0f),
|
||||
(state.intake_manifold_temperature - C_TO_KELVIN),
|
||||
(state.cylinder_status[0].cylinder_head_temperature - C_TO_KELVIN),
|
||||
state.cylinder_status[0].ignition_timing_deg,
|
||||
state.cylinder_status[0].injection_time_ms,
|
||||
0, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user