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 isFan2On;Radiator Fan 2
|
||||
bit acrActive;Harley ACR Active
|
||||
bit toothLogReady;Tooth Logger Ready
|
||||
bit isTpsError;Error: TPS
|
||||
bit isCltError;Error: CLT
|
||||
|
|
|
@ -53,8 +53,7 @@ void HarleyAcr::onSlowCallback() {
|
|||
}
|
||||
|
||||
bool acrState = getAcrState();
|
||||
engine->engineState.acrStateDup = acrState;
|
||||
engine->outputChannels.acrActive = acrState;
|
||||
engine->engineState.acrActive = acrState;
|
||||
enginePins.harleyAcr.setValue(acrState);
|
||||
enginePins.harleyAcr2.setValue(acrState);
|
||||
m_active = acrState;
|
||||
|
|
|
@ -42,6 +42,7 @@ struct_no_prefix engine_state_s
|
|||
int8_t smartChipRestartCounter
|
||||
int8_t smartChipAliveCounter
|
||||
bit startStopPhysicalState
|
||||
bit acrActive;Harley ACR Active
|
||||
bit acrEngineMovedRecently
|
||||
! same field is used for narrow band heater enable and wide band enable via CAN
|
||||
bit heaterControlEnabled
|
||||
|
|
Loading…
Reference in New Issue