'displayLogicLevelsInEngineSniffer' on VVT input reports too much into engine sniffer fix #2528
This commit is contained in:
parent
f3c46f2720
commit
9753b6e020
|
@ -137,7 +137,7 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index DECL
|
|||
return;
|
||||
}
|
||||
|
||||
if (CONFIG(displayLogicLevelsInEngineSniffer)) {
|
||||
if (CONFIG(displayLogicLevelsInEngineSniffer) && isImportantFront) {
|
||||
if (CONFIG(vvtCamSensorUseRise)) {
|
||||
// todo: unify TS composite logger code with console Engine Sniffer
|
||||
// todo: better API to reduce copy/paste?
|
||||
|
|
|
@ -167,5 +167,5 @@ TEST(sensors, testNB2CamInput) {
|
|||
// actually position based on VVT!
|
||||
ASSERT_EQ(totalRevolutionCountBeforeVvtSync + 2, engine->triggerCentral.triggerState.getTotalRevolutionCounter());
|
||||
|
||||
ASSERT_EQ(28, waveChart.getSize());
|
||||
ASSERT_EQ(26, waveChart.getSize());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue