not setValue (#3026)

This commit is contained in:
Matthew Kennedy 2021-07-21 20:36:46 -07:00 committed by GitHub
parent 7db8bc816e
commit 76924be3d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -132,11 +132,11 @@ static void prepareCylinderIgnitionSchedule(angle_t dwellAngleDuration, floatms_
}
static void chargeTrailingSpark(IgnitionOutputPin* pin) {
pin->setValue(1);
pin->setHigh();
}
static void fireTrailingSpark(IgnitionOutputPin* pin) {
pin->setValue(0);
pin->setLow();
}
void fireSparkAndPrepareNextSchedule(IgnitionEvent *event) {