rusefi-1/firmware/controllers/actuators/ac_control.txt

18 lines
385 B
Plaintext

struct_no_prefix ac_control_s
bit engineTooSlow
bit engineTooFast
bit noClt
bit engineTooHot
bit tpsTooHigh
bit m_acEnabled
bit acButtonState;@@INDICATOR_NAME_AC_SWITCH@@
bit isDisabledByLua;For setAcDisabled Lua method
int latest_usage_ac_control;
! todo: extract some helper which would contain boolean state and most recent toggle time?
int acSwitchLastChangeTimeMs;
end_struct