mirror of https://github.com/rusefi/rusefi.git
small likes harley acr
This commit is contained in:
parent
6b13f95b3c
commit
2721d6ea52
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue