mirror of https://github.com/rusefi/rusefi.git
parent
2f1c02d956
commit
fc5c9542c5
|
@ -273,16 +273,17 @@ extern bool kAcRequestState;
|
||||||
}
|
}
|
||||||
|
|
||||||
Engine::Engine()
|
Engine::Engine()
|
||||||
|
: clutchUpSwitchedState(&engineState.clutchUpState),
|
||||||
|
brakePedalSwitchedState(&engineState.brakePedalState),
|
||||||
|
acButtonSwitchedState(&module<AcController>().unmock().acButtonState)
|
||||||
|
|
||||||
#if EFI_LAUNCH_CONTROL
|
#if EFI_LAUNCH_CONTROL
|
||||||
|
|
||||||
: softSparkLimiter(false), hardSparkLimiter(true)
|
, softSparkLimiter(false), hardSparkLimiter(true)
|
||||||
|
|
||||||
#if EFI_ANTILAG_SYSTEM
|
#if EFI_ANTILAG_SYSTEM
|
||||||
, ALSsoftSparkLimiter(false)
|
, ALSsoftSparkLimiter(false)
|
||||||
#endif /* EFI_ANTILAG_SYSTEM */
|
#endif /* EFI_ANTILAG_SYSTEM */
|
||||||
, clutchUpSwitchedState(&engineState.clutchUpState)
|
|
||||||
, brakePedalSwitchedState(&engineState.brakePedalState)
|
|
||||||
, acButtonSwitchedState(&module<AcController>().unmock().acButtonState)
|
|
||||||
|
|
||||||
#endif // EFI_LAUNCH_CONTROL
|
#endif // EFI_LAUNCH_CONTROL
|
||||||
{
|
{
|
||||||
|
|
|
@ -169,7 +169,11 @@ public:
|
||||||
#if EFI_TCU
|
#if EFI_TCU
|
||||||
GearControllerBase *gearController;
|
GearControllerBase *gearController;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
SwitchedState clutchUpSwitchedState;
|
||||||
|
SwitchedState brakePedalSwitchedState;
|
||||||
|
SwitchedState acButtonSwitchedState;
|
||||||
|
|
||||||
#if EFI_LAUNCH_CONTROL
|
#if EFI_LAUNCH_CONTROL
|
||||||
LaunchControlBase launchController;
|
LaunchControlBase launchController;
|
||||||
SoftSparkLimiter softSparkLimiter;
|
SoftSparkLimiter softSparkLimiter;
|
||||||
|
@ -338,10 +342,6 @@ public:
|
||||||
AirmassModelBase* mockAirmassModel = nullptr;
|
AirmassModelBase* mockAirmassModel = nullptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SwitchedState clutchUpSwitchedState;
|
|
||||||
SwitchedState brakePedalSwitchedState;
|
|
||||||
SwitchedState acButtonSwitchedState;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void reset();
|
void reset();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue