From ddd85e701e50e3a437f86c0f30ac9420d2df841c Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 23 Apr 2022 20:38:48 -0400 Subject: [PATCH] Remove value copy from controller into outputChannels #4095 --- unit_tests/tests/trigger/test_map_cam.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unit_tests/tests/trigger/test_map_cam.cpp b/unit_tests/tests/trigger/test_map_cam.cpp index a09980e078..55a39d9ede 100644 --- a/unit_tests/tests/trigger/test_map_cam.cpp +++ b/unit_tests/tests/trigger/test_map_cam.cpp @@ -24,7 +24,7 @@ TEST(trigger, map_cam_by_magic_point) { eth.smartFireTriggerEvents2(/*count*/10, /*delayMs*/200); ASSERT_EQ(150, Sensor::getOrZero(SensorType::Rpm)) << "RPM"; - ASSERT_EQ(1, engine->outputChannels.TEMPLOG_map_peak); + ASSERT_EQ(1, engine->triggerCentral.mapVvt_map_peak); ASSERT_EQ(0, engine->outputChannels.vvtSyncCounter); // Nothing should have been scheduled yet @@ -35,9 +35,9 @@ TEST(trigger, map_cam_by_magic_point) { engine->outputChannels.instantMAPValue = 120; eth.smartFireTriggerEvents2(/*count*/4, /*delayMs*/200); - ASSERT_EQ(2, engine->outputChannels.TEMPLOG_map_peak); + ASSERT_EQ(2, engine->triggerCentral.mapVvt_map_peak); ASSERT_EQ(1, engine->outputChannels.vvtSyncCounter); - ASSERT_EQ(10, engine->outputChannels.TEMPLOG_MAP_AT_CYCLE_COUNT); + ASSERT_EQ(10, engine->triggerCentral.mapVvt_MAP_AT_CYCLE_COUNT); ASSERT_EQ(ClearReason::None, eth.engine.limpManager.allowIgnition().reason); ASSERT_EQ(ClearReason::None, eth.engine.limpManager.allowInjection().reason);