migrating to SensorType::Rpm API
This commit is contained in:
parent
e37ab73f1d
commit
0e1f7bea8c
|
@ -20,7 +20,7 @@ TEST(misc, testAuxValves) {
|
|||
engineConfiguration->isInjectionEnabled = false;
|
||||
|
||||
eth.fireTriggerEvents2(2 /* count */ , 600 /* ms */);
|
||||
ASSERT_EQ( 100, GET_RPM()) << "spinning-RPM#1";
|
||||
ASSERT_EQ( 100, round(Sensor::getOrZero(SensorType::Rpm))) << "spinning-RPM#1";
|
||||
|
||||
eth.assertTriggerEvent("a0", 0, &engine->auxValves[0][0].open, (void*)&auxPlainPinTurnOn, 7, 86);
|
||||
eth.assertTriggerEvent("a1", 1, &engine->auxValves[0][1].open, (void*)&auxPlainPinTurnOn, 3, 86);
|
||||
|
|
|
@ -25,7 +25,7 @@ TEST(HPFP, IntegratedSchedule) {
|
|||
|
||||
|
||||
eth.smartFireTriggerEvents2(/*count*/40, /*delay*/ 4);
|
||||
ASSERT_EQ(937, GET_RPM());
|
||||
ASSERT_EQ(937, round(Sensor::getOrZero(SensorType::Rpm)));
|
||||
|
||||
for (int i = 0;i<100;i++) {
|
||||
eth.smartFireTriggerEvents2(/*count*/1, /*delay*/ 4);
|
||||
|
|
Loading…
Reference in New Issue