diff --git a/firmware/controllers/algo/fuel_math.cpp b/firmware/controllers/algo/fuel_math.cpp index 6dcb22e572..5b4365850b 100644 --- a/firmware/controllers/algo/fuel_math.cpp +++ b/firmware/controllers/algo/fuel_math.cpp @@ -44,7 +44,7 @@ EXTERN_ENGINE static fuel_Map3D_t fuelMap("fuel"); static fuel_Map3D_t fuelPhaseMap("fl ph"); extern fuel_Map3D_t ve2Map; -extern fuel_Map3D_t afrMap; +extern afr_Map3D_t afrMap; extern baroCorr_Map3D_t baroCorrMap; /** diff --git a/unit_tests/test_engine_math.cpp b/unit_tests/test_engine_math.cpp index e88bebfd94..788a49ad47 100644 --- a/unit_tests/test_engine_math.cpp +++ b/unit_tests/test_engine_math.cpp @@ -21,7 +21,7 @@ void testIgnitionPlanning(void) { EXPAND_EngineTestHelper; eth.engine.periodicFastCallback(PASS_ENGINE_PARAMETER_F); - assertEquals(13.5, eth.engine.engineState.targetAFR); + assertEqualsM("testIgnitionPlanning_AFR", 13.5, eth.engine.engineState.targetAFR); assertEquals(IM_BATCH, engineConfiguration->injectionMode); } diff --git a/unit_tests/test_fuel_map.cpp b/unit_tests/test_fuel_map.cpp index e9ec776b25..9a5df34c7d 100644 --- a/unit_tests/test_fuel_map.cpp +++ b/unit_tests/test_fuel_map.cpp @@ -30,7 +30,7 @@ void testMafFuelMath(void) { setAfrMap(config->afrTable, 13); float fuelMs = getRealMafFuel(300, 6000 PASS_ENGINE_PARAMETER); - assertEquals(26.7099, fuelMs); + assertEqualsM("fuelMs", 26.7099, fuelMs); } void testFuelMap(void) {