From ca8178355fbe7b3bfb43ce81a84d9b0997ca290c Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sat, 23 Jan 2016 15:01:28 -0500 Subject: [PATCH] auto-sync --- unit_tests/test_fuel_map.cpp | 2 +- unit_tests/test_trigger_decoder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/test_fuel_map.cpp b/unit_tests/test_fuel_map.cpp index a61455e85a..1432c48f15 100644 --- a/unit_tests/test_fuel_map.cpp +++ b/unit_tests/test_fuel_map.cpp @@ -58,7 +58,7 @@ void testFuelMap(void) { initThermistors(NULL PASS_ENGINE_PARAMETER); printf("*** getInjectorLag\r\n"); - assertEquals(1.0, getInjectorLag(12 PASS_ENGINE_PARAMETER)); + assertEqualsM("lag", 1.04, getInjectorLag(12 PASS_ENGINE_PARAMETER)); eth.engine.engineConfiguration->injector.lag = 0.5; diff --git a/unit_tests/test_trigger_decoder.cpp b/unit_tests/test_trigger_decoder.cpp index 093f1709f6..18544d9c35 100644 --- a/unit_tests/test_trigger_decoder.cpp +++ b/unit_tests/test_trigger_decoder.cpp @@ -296,7 +296,7 @@ static void testRpmCalculator(void) { // this is a very dirty and sad hack. todo: eliminate // engine.engineConfiguration = eth.engine.engineConfiguration; - eth.engine.engineConfiguration->injector.lag = 0.0; + eth.engine.engineConfiguration->injector.lag = -1.04; engine->updateSlowSensors(PASS_ENGINE_PARAMETER_F); timeNow = 0;