helping cypress (#5537)

* helping cypress

* helping cypress
This commit is contained in:
rusefillc 2023-08-23 21:35:13 -07:00 committed by GitHub
parent 2f1c02d956
commit fc5c9542c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View File

@ -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
{

View File

@ -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();