as suggested by the comment, this doesn't need a warning (#1464)

* the comment is correct

* format
This commit is contained in:
Matthew Kennedy 2020-05-22 21:40:20 -07:00 committed by GitHub
parent 4edd682ebb
commit 8dadb554c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 6 deletions

View File

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