so much random technical debt all over :(

This commit is contained in:
Andrey 2024-03-04 21:25:07 -05:00
parent fcf04e6730
commit cdaeb2fa2b
3 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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;

View File

@ -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