unit test reset fix

This commit is contained in:
rusefi 2018-03-04 20:14:47 -05:00
parent 2952f652fc
commit aaa7313f67
1 changed files with 3 additions and 0 deletions

View File

@ -19,11 +19,14 @@ extern int timeNowUs;
extern EnginePins enginePins; extern EnginePins enginePins;
extern EventQueue schedulingQueue; extern EventQueue schedulingQueue;
extern int unitTestWarningCounter; extern int unitTestWarningCounter;
extern float testMafValue;
EngineTestHelper::EngineTestHelper(engine_type_e engineType) : engine (&persistentConfig) { EngineTestHelper::EngineTestHelper(engine_type_e engineType) : engine (&persistentConfig) {
ec = &persistentConfig.engineConfiguration; ec = &persistentConfig.engineConfiguration;
unitTestWarningCounter = 0; unitTestWarningCounter = 0;
testMafValue = 0;
schedulingQueue.clear(); schedulingQueue.clear();
enginePins.reset(); enginePins.reset();