Clean-up analog channels in "unit" tests #1456

This commit is contained in:
rusefi 2020-05-20 03:49:56 -04:00
parent f32e7c19f4
commit f2cf1358c1
2 changed files with 1 additions and 4 deletions

View File

@ -18,7 +18,6 @@
extern int timeNowUs;
extern WarningCodeState unitTestWarningCodeState;
extern float testMafValue;
extern engine_configuration_s & activeConfiguration;
EngineTestHelperBase::EngineTestHelperBase() {
@ -29,7 +28,7 @@ EngineTestHelperBase::EngineTestHelperBase() {
EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callback_t boardCallback) {
unitTestWarningCodeState.clear();
testMafValue = 0;
memset(&activeConfiguration, 0, sizeof(activeConfiguration));
enginePins.reset();

View File

@ -15,8 +15,6 @@
#include "advance_map.h"
#include "sensor.h"
extern float testMafValue;
TEST(misc, testMafFuelMath) {
printf("====================================================================================== testMafFuelMath\r\n");
WITH_ENGINE_TEST_HELPER(FORD_ASPIRE_1996);