mirror of https://github.com/rusefi/rusefi-1.git
m_hasSynchronizedSymmetrical handling improvements #4099
This commit is contained in:
parent
986e0573b2
commit
7b64aa5880
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
#include "trigger_central.h"
|
#include "trigger_central.h"
|
||||||
|
#include "spark_logic.h"
|
||||||
|
|
||||||
TEST(trigger, map_cam_by_magic_point) {
|
TEST(trigger, map_cam_by_magic_point) {
|
||||||
|
|
||||||
|
@ -32,5 +33,7 @@ TEST(trigger, map_cam_by_magic_point) {
|
||||||
ASSERT_EQ(10, engine->outputChannels.TEMPLOG_MAP_AT_CYCLE_COUNT);
|
ASSERT_EQ(10, engine->outputChannels.TEMPLOG_MAP_AT_CYCLE_COUNT);
|
||||||
|
|
||||||
// We have "VVT" sync, things should be scheduled!
|
// We have "VVT" sync, things should be scheduled!
|
||||||
ASSERT_NE(0, engine->executor.size());
|
ASSERT_EQ(2, engine->executor.size());
|
||||||
|
eth.assertEvent5("spark down#0", 0, (void*)turnSparkPinHigh, 185333);
|
||||||
|
eth.assertEvent5("spark down#1", 1, (void*)fireSparkAndPrepareNextSchedule, 188333);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue