Remove value copy from controller into outputChannels #4095
This commit is contained in:
parent
32d46d1f09
commit
66f35b0b40
|
@ -20,12 +20,12 @@ bit isFan2On
|
|||
bit alternatorOnOff;
|
||||
bit brakePedalState;@@INDICATOR_NAME_BRAKE_DOWN@@
|
||||
bit toothLogReady;
|
||||
bit acSwitchState;@@INDICATOR_NAME_AC_SWITCH@@
|
||||
bit unused3123
|
||||
bit isTpsError;
|
||||
bit isCltError;
|
||||
bit isMapError;
|
||||
bit isIatError;
|
||||
bit acState;
|
||||
bit unused131313;
|
||||
bit isTriggerError;
|
||||
bit hasCriticalError;
|
||||
bit isWarnNow;
|
||||
|
|
|
@ -60,11 +60,6 @@ void AcController::onSlowCallback() {
|
|||
m_acEnabled = isEnabled;
|
||||
|
||||
enginePins.acRelay.setValue(isEnabled);
|
||||
|
||||
#if EFI_TUNER_STUDIO
|
||||
engine->outputChannels.acSwitchState = engine->acSwitchState;
|
||||
engine->outputChannels.acState = isEnabled;
|
||||
#endif // EFI_TUNER_STUDIO
|
||||
}
|
||||
|
||||
bool AcController::isAcEnabled() const {
|
||||
|
|
|
@ -11,5 +11,4 @@ public:
|
|||
private:
|
||||
bool getAcState();
|
||||
|
||||
bool m_acEnabled = false;
|
||||
};
|
||||
|
|
|
@ -5,8 +5,9 @@ bit engineTooFast
|
|||
bit noClt
|
||||
bit engineTooHot
|
||||
bit tpsTooHigh
|
||||
bit m_acEnabled
|
||||
|
||||
bit acButtonState
|
||||
bit acButtonState;@@INDICATOR_NAME_AC_SWITCH@@
|
||||
bit isDisabledByLua;For setAcDisabled Lua method
|
||||
|
||||
int latest_usage_ac_control;
|
||||
|
|
Loading…
Reference in New Issue