small likes harley acr

This commit is contained in:
rusefillc 2023-10-09 18:40:09 -04:00 committed by rusefillc
parent 6b13f95b3c
commit 2721d6ea52
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,7 @@
#include "pch.h"
static bool getAcrState() {
#if EFI_SHAFT_POSITION_INPUT
auto currentPhase = getTriggerCentral()->getCurrentEnginePhase(getTimeNowNt());
if (!currentPhase) {
return false;
@ -39,6 +40,9 @@ static bool getAcrState() {
// ACR active - not enough revs completed
return true;
}
#else // EFI_SHAFT_POSITION_INPUT
return false;
#endif // EFI_SHAFT_POSITION_INPUT
}
void HarleyAcr::onSlowCallback() {