Clean-up analog channels in "unit" tests #1456
This commit is contained in:
parent
f32e7c19f4
commit
f2cf1358c1
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue