as suggested by the comment, this doesn't need a warning (#1464)
* the comment is correct * format
This commit is contained in:
parent
4edd682ebb
commit
8dadb554c4
|
@ -410,18 +410,13 @@ static void mainTriggerCallback(trigger_event_e ckpSignalType, uint32_t trgEvent
|
|||
bool limitedSpark = rpm > CONFIG(rpmHardLimit);
|
||||
bool limitedFuel = rpm > CONFIG(rpmHardLimit);
|
||||
|
||||
if (CONFIG(boostCutPressure) !=0) {
|
||||
if (CONFIG(boostCutPressure) != 0) {
|
||||
if (getMap(PASS_ENGINE_PARAMETER_SIGNATURE) > CONFIG(boostCutPressure)) {
|
||||
limitedSpark = true;
|
||||
limitedFuel = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (limitedSpark || limitedFuel) {
|
||||
// todo: this is not really a warning
|
||||
warning(CUSTOM_SKIPPING_STROKE, "skipping stroke due to rpm=%d", rpm);
|
||||
}
|
||||
|
||||
if (trgEventIndex == 0) {
|
||||
if (HAVE_CAM_INPUT()) {
|
||||
engine->triggerCentral.validateCamVvtCounters();
|
||||
|
|
Loading…
Reference in New Issue