I guess we can simply change the magic number

This commit is contained in:
rusefi 2019-10-16 23:02:37 -04:00
parent 5f9fdfe9a6
commit 88c8363f82
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ TEST(cranking, testFasterEngineSpinningUp) {
// check real events for sequential injection
// Note: See addFuelEvents() fix inside setRpmValue()!
eth.assertEvent5("inj start#3", 0, (void*)seTurnPinHigh, -31875);
eth.assertEvent5("inj end#3", 1, (void*)seTurnPinLow, -28875);
eth.assertEvent5("inj end#3", 1, (void*)seTurnPinLow, -30000);
}
static void doTestFasterEngineSpinningUp60_2(int startUpDelayMs, int rpm1, int expectedRpm) {