From 5fafa94056145cb498486cf06a8a5d391de5f54e Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Wed, 1 Jun 2022 17:06:44 +1000 Subject: [PATCH] Fix unit test value --- platformio.ini | 2 +- test/test_fuel/test_corrections.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 393d4d10..2fd48f4a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -15,7 +15,7 @@ framework=arduino build_unflags = -Os build_flags = -O3 -ffast-math -fshort-enums -funroll-loops -Wall -Wextra -std=c99 lib_deps = EEPROM, Time -test_build_project_src = true +;test_build_project_src = true test_build_src = yes debug_tool = simavr test_ignore = test_table3d_native diff --git a/test/test_fuel/test_corrections.cpp b/test/test_fuel/test_corrections.cpp index 7a84d27f..186fa84f 100644 --- a/test/test_fuel/test_corrections.cpp +++ b/test/test_fuel/test_corrections.cpp @@ -297,7 +297,7 @@ void test_corrections_TAE_50pc_warmup_taper() currentStatus.TPS = 50; //25% actual value //Set a cold % of 50% increase - configPage2.aeColdPct = 200; + configPage2.aeColdPct = 150; configPage2.aeColdTaperMax = 60 + CALIBRATION_TEMPERATURE_OFFSET; configPage2.aeColdTaperMin = 0 + CALIBRATION_TEMPERATURE_OFFSET; //Set the coolant to be 50% of the way through the warmup range