dead fsio alt (#2871)
This commit is contained in:
parent
c1eda5dec8
commit
e39eadce85
|
@ -107,7 +107,6 @@ static FsioPointers state;
|
||||||
|
|
||||||
static LEElement * acRelayLogic;
|
static LEElement * acRelayLogic;
|
||||||
static LEElement * fuelPumpLogic;
|
static LEElement * fuelPumpLogic;
|
||||||
static LEElement * alternatorLogic;
|
|
||||||
static LEElement * starterRelayDisableLogic;
|
static LEElement * starterRelayDisableLogic;
|
||||||
|
|
||||||
#if EFI_MAIN_RELAY_CONTROL
|
#if EFI_MAIN_RELAY_CONTROL
|
||||||
|
@ -502,10 +501,6 @@ void runFsio(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
setPinState("A/C", &enginePins.acRelay, acRelayLogic PASS_ENGINE_PARAMETER_SUFFIX);
|
setPinState("A/C", &enginePins.acRelay, acRelayLogic PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (isBrainPinValid(CONFIG(alternatorControlPin))) {
|
|
||||||
// setPinState("alternator", &enginePins.alternatorField, alternatorLogic, engine PASS_ENGINE_PARAMETER_SUFFIX);
|
|
||||||
// }
|
|
||||||
|
|
||||||
#if EFI_ENABLE_ENGINE_WARNING
|
#if EFI_ENABLE_ENGINE_WARNING
|
||||||
if (engineConfiguration->useFSIO4ForSeriousEngineWarning) {
|
if (engineConfiguration->useFSIO4ForSeriousEngineWarning) {
|
||||||
updateValueOrWarning(MAGIC_OFFSET_FOR_ENGINE_WARNING, "eng warning", &ENGINE(fsioState.isEngineWarning) PASS_ENGINE_PARAMETER_SUFFIX);
|
updateValueOrWarning(MAGIC_OFFSET_FOR_ENGINE_WARNING, "eng warning", &ENGINE(fsioState.isEngineWarning) PASS_ENGINE_PARAMETER_SUFFIX);
|
||||||
|
@ -574,7 +569,6 @@ static void showFsioInfo(void) {
|
||||||
efiPrintf("sys used %d/user used %d", sysPool.getSize(), userPool.getSize());
|
efiPrintf("sys used %d/user used %d", sysPool.getSize(), userPool.getSize());
|
||||||
showFsio("a/c", acRelayLogic);
|
showFsio("a/c", acRelayLogic);
|
||||||
showFsio("fuel", fuelPumpLogic);
|
showFsio("fuel", fuelPumpLogic);
|
||||||
showFsio("alt", alternatorLogic);
|
|
||||||
|
|
||||||
for (int i = 0; i < CAM_INPUTS_COUNT ; i++) {
|
for (int i = 0; i < CAM_INPUTS_COUNT ; i++) {
|
||||||
brain_pin_e pin = engineConfiguration->auxPidPins[i];
|
brain_pin_e pin = engineConfiguration->auxPidPins[i];
|
||||||
|
@ -698,8 +692,6 @@ void initFsioImpl(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
|
|
||||||
acRelayLogic = sysPool.parseExpression(AC_RELAY_LOGIC);
|
acRelayLogic = sysPool.parseExpression(AC_RELAY_LOGIC);
|
||||||
|
|
||||||
alternatorLogic = sysPool.parseExpression(ALTERNATOR_LOGIC);
|
|
||||||
|
|
||||||
#if EFI_MAIN_RELAY_CONTROL
|
#if EFI_MAIN_RELAY_CONTROL
|
||||||
if (isBrainPinValid(CONFIG(mainRelayPin)))
|
if (isBrainPinValid(CONFIG(mainRelayPin)))
|
||||||
mainRelayLogic = sysPool.parseExpression(MAIN_RELAY_LOGIC);
|
mainRelayLogic = sysPool.parseExpression(MAIN_RELAY_LOGIC);
|
||||||
|
|
|
@ -18,9 +18,6 @@
|
||||||
// Human-readable: ((time_since_boot >= 0) & (time_since_boot < startup_fuel_pump_duration)) | (time_since_trigger < 1)
|
// Human-readable: ((time_since_boot >= 0) & (time_since_boot < startup_fuel_pump_duration)) | (time_since_trigger < 1)
|
||||||
#define FUEL_PUMP_LOGIC "time_since_boot 0 >= time_since_boot startup_fuel_pump_duration < & time_since_trigger 1 < |"
|
#define FUEL_PUMP_LOGIC "time_since_boot 0 >= time_since_boot startup_fuel_pump_duration < & time_since_trigger 1 < |"
|
||||||
|
|
||||||
// Human-readable: vbatt < 14.5
|
|
||||||
#define ALTERNATOR_LOGIC "vbatt 14.5 <"
|
|
||||||
|
|
||||||
// Human-readable: coolant > 120
|
// Human-readable: coolant > 120
|
||||||
#define TOO_HOT_LOGIC "coolant 120 >"
|
#define TOO_HOT_LOGIC "coolant 120 >"
|
||||||
|
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
|
|
||||||
FUEL_PUMP_LOGIC=((time_since_boot >= 0) & (time_since_boot < startup_fuel_pump_duration)) | (time_since_trigger < 1)
|
FUEL_PUMP_LOGIC=((time_since_boot >= 0) & (time_since_boot < startup_fuel_pump_duration)) | (time_since_trigger < 1)
|
||||||
|
|
||||||
ALTERNATOR_LOGIC=vbatt < 14.5
|
|
||||||
|
|
||||||
TOO_HOT_LOGIC=coolant > 120
|
TOO_HOT_LOGIC=coolant > 120
|
||||||
|
|
||||||
AC_RELAY_LOGIC=ac_on_switch & (rpm > 850)
|
AC_RELAY_LOGIC=ac_on_switch & (rpm > 850)
|
||||||
|
|
Loading…
Reference in New Issue