date & VVT test progress
This commit is contained in:
parent
1735529a6b
commit
a124e0b934
|
@ -839,6 +839,6 @@ int getRusEfiVersion(void) {
|
|||
if (initBootloader() != 0)
|
||||
return 123;
|
||||
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */
|
||||
return 201200126;
|
||||
return 201200131;
|
||||
}
|
||||
#endif /* EFI_UNIT_TEST */
|
||||
|
|
|
@ -41,7 +41,7 @@ GTEST_API_ int main(int argc, char **argv) {
|
|||
// printTriggerDebug = true;
|
||||
|
||||
// resizeMap();
|
||||
printf("Success 20191016\r\n");
|
||||
printf("Success 20200131\r\n");
|
||||
printAllTriggers();
|
||||
// printConvertedTable();
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
|
|
|
@ -124,7 +124,17 @@ TEST(sensors, testNB2CamInput) {
|
|||
}
|
||||
ASSERT_EQ(1200, GET_RPM()) << "testNB2CamInput RPM";
|
||||
|
||||
// this would be ignored since we only consude one kind the other kind of fronts here
|
||||
hwHandleVvtCamSignal(TV_FALL, getTimeNowNt() PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
eth.moveTimeForwardUs(MS2US(20));
|
||||
// this would be be first VVT signal - gap duration would be calculated against 'DEEP_IN_THE_PAST_SECONDS' initial value
|
||||
hwHandleVvtCamSignal(TV_RISE, getTimeNowNt() PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
eth.moveTimeForwardUs(MS2US(20));
|
||||
// this second important front would give us first real VVT gap duration
|
||||
hwHandleVvtCamSignal(TV_RISE, getTimeNowNt() PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
eth.moveTimeForwardUs(MS2US(130));
|
||||
// this third important front would give us first comparison between two real gaps
|
||||
hwHandleVvtCamSignal(TV_RISE, getTimeNowNt() PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue