MAP phase sensing #3544

limiting to below cranking RPM limit
This commit is contained in:
Andrey 2021-12-11 02:56:19 -05:00
parent 810c91f98a
commit 099f7d5a86
1 changed files with 2 additions and 1 deletions

View File

@ -669,7 +669,8 @@ void TriggerCentral::handleShaftSignal(trigger_event_e signal, efitick_t timesta
#endif // EFI_TUNER_STUDIO
#if WITH_TS_STATE
if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN_ANOTHER) {
if (engineConfiguration->vvtMode[0] == VVT_MAP_V_TWIN_ANOTHER &&
Sensor::getOrZero(SensorType::Rpm) < engineConfiguration->cranking.rpm) {
// we are trying to figure out which 360 half of the total 720 degree cycle is which, so we compare those in 360 degree sense.
auto toothAngle360 = toothAngle;
while (toothAngle360 >= 360) {