Starter seems to be engaged forever #1965
This commit is contained in:
parent
4e94324e4f
commit
53f6f1e661
|
@ -63,12 +63,17 @@ public:
|
|||
#if EFI_GPIO_HARDWARE
|
||||
ioportid_t port = 0;
|
||||
uint8_t pin = 0;
|
||||
#if (BOARD_EXT_GPIOCHIPS > 0)
|
||||
/* used for external pins */
|
||||
brain_pin_e brainPin;
|
||||
bool ext;
|
||||
#endif
|
||||
#endif /* EFI_GPIO_HARDWARE */
|
||||
|
||||
#if (EFI_GPIO_HARDWARE && (BOARD_EXT_GPIOCHIPS > 0))
|
||||
/* used for external pins */
|
||||
brain_pin_e brainPin;
|
||||
bool ext;
|
||||
#elif EFI_SIMULATOR || EFI_UNIT_TEST
|
||||
// used for setMockState
|
||||
brain_pin_e brainPin;
|
||||
#endif /* EFI_GPIO_HARDWARE */
|
||||
|
||||
int8_t currentLogicValue = INITIAL_PIN_STATE;
|
||||
/**
|
||||
* we track current pin status so that we do not touch the actual hardware if we want to write new pin bit
|
||||
|
@ -137,7 +142,7 @@ public:
|
|||
class RegisteredOutputPin : public virtual OutputPin {
|
||||
public:
|
||||
RegisteredOutputPin(const char *registrationName, short pinOffset, short pinModeOffset);
|
||||
void init();
|
||||
void init(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
||||
void unregister();
|
||||
RegisteredOutputPin *next;
|
||||
private:
|
||||
|
|
|
@ -52,7 +52,6 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
|
|||
|
||||
unitTestWarningCodeState.clear();
|
||||
|
||||
|
||||
memset(&activeConfiguration, 0, sizeof(activeConfiguration));
|
||||
|
||||
enginePins.reset();
|
||||
|
@ -79,6 +78,8 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
|
|||
|
||||
resetConfigurationExt(NULL, configurationCallback, engineType PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
enginePins.startPins(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
|
||||
commonInitEngineController(NULL PASS_ENGINE_PARAMETER_SUFFIX);
|
||||
|
||||
engineConfiguration->mafAdcChannel = EFI_ADC_10;
|
||||
|
|
Loading…
Reference in New Issue