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