so much random technical debt all over :(
This commit is contained in:
parent
fcf04e6730
commit
cdaeb2fa2b
|
@ -20,7 +20,6 @@ bit needBurn;
|
||||||
|
|
||||||
bit sd_msd;SD: MSD
|
bit sd_msd;SD: MSD
|
||||||
bit isFan2On;Radiator Fan 2
|
bit isFan2On;Radiator Fan 2
|
||||||
bit acrActive;Harley ACR Active
|
|
||||||
bit toothLogReady;Tooth Logger Ready
|
bit toothLogReady;Tooth Logger Ready
|
||||||
bit isTpsError;Error: TPS
|
bit isTpsError;Error: TPS
|
||||||
bit isCltError;Error: CLT
|
bit isCltError;Error: CLT
|
||||||
|
|
|
@ -53,8 +53,7 @@ void HarleyAcr::onSlowCallback() {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool acrState = getAcrState();
|
bool acrState = getAcrState();
|
||||||
engine->engineState.acrStateDup = acrState;
|
engine->engineState.acrActive = acrState;
|
||||||
engine->outputChannels.acrActive = acrState;
|
|
||||||
enginePins.harleyAcr.setValue(acrState);
|
enginePins.harleyAcr.setValue(acrState);
|
||||||
enginePins.harleyAcr2.setValue(acrState);
|
enginePins.harleyAcr2.setValue(acrState);
|
||||||
m_active = acrState;
|
m_active = acrState;
|
||||||
|
|
|
@ -42,6 +42,7 @@ struct_no_prefix engine_state_s
|
||||||
int8_t smartChipRestartCounter
|
int8_t smartChipRestartCounter
|
||||||
int8_t smartChipAliveCounter
|
int8_t smartChipAliveCounter
|
||||||
bit startStopPhysicalState
|
bit startStopPhysicalState
|
||||||
|
bit acrActive;Harley ACR Active
|
||||||
bit acrEngineMovedRecently
|
bit acrEngineMovedRecently
|
||||||
! same field is used for narrow band heater enable and wide band enable via CAN
|
! same field is used for narrow band heater enable and wide band enable via CAN
|
||||||
bit heaterControlEnabled
|
bit heaterControlEnabled
|
||||||
|
|
Loading…
Reference in New Issue