K progress
This commit is contained in:
parent
782f4f32b8
commit
cff779dd78
|
@ -180,10 +180,8 @@ static angle_t adjustCrankPhase(int camIndex) {
|
|||
case VVT_MAZDA_SKYACTIV:
|
||||
case VVT_MITSUBISHI_3A92:
|
||||
case VVT_MITSUBISHI_6G75:
|
||||
return syncAndReport(tc, getCrankDivider(operationMode), engineConfiguration->vvtBooleanForVerySpecialCases ? 1 : 0);
|
||||
case VVT_HONDA_K:
|
||||
firmwareError(OBD_PCM_Processor_Fault, "Undecided on VVT phase of %s", getVvt_mode_e(vvtMode));
|
||||
return 0;
|
||||
return syncAndReport(tc, getCrankDivider(operationMode), engineConfiguration->vvtBooleanForVerySpecialCases ? 1 : 0);
|
||||
case VVT_INACTIVE:
|
||||
// do nothing
|
||||
return 0;
|
||||
|
|
|
@ -5,14 +5,16 @@
|
|||
TEST(realk20, cranking) {
|
||||
CsvReader reader(/* triggerCount */ 1, /* vvtCount */ 2);
|
||||
|
||||
reader.open("tests/trigger/resources/civic-K20-cranking.csv");
|
||||
reader.open("tests/trigger/resources/civic-K20-cranking.csv", NORMAL_ORDER, REVERSE_ORDER);
|
||||
|
||||
EngineTestHelper eth (PROTEUS_HONDA_ELEMENT_2003);
|
||||
|
||||
while (reader.haveMore()) {
|
||||
// todo reader.processLine(ð);
|
||||
reader.processLine(ð);
|
||||
}
|
||||
|
||||
ASSERT_EQ(84, round(Sensor::getOrZero(SensorType::Rpm)));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue