setSparkSkipRatio limitation #5231
This commit is contained in:
parent
ff87fb5f51
commit
0265582f28
|
@ -139,6 +139,9 @@ bool LaunchControlBase::isLaunchFuelRpmRetardCondition() const {
|
|||
|
||||
SoftSparkLimiter::SoftSparkLimiter(bool allowHardCut) {
|
||||
this->allowHardCut = allowHardCut;
|
||||
#if EFI_UNIT_TEST
|
||||
initLaunchControl();
|
||||
#endif // EFI_UNIT_TEST
|
||||
}
|
||||
|
||||
void SoftSparkLimiter::setTargetSkipRatio(float targetSkipRatio) {
|
||||
|
|
|
@ -140,8 +140,6 @@ static void setDefaultLaunchParameters() {
|
|||
TEST(LaunchControl, CompleteRun) {
|
||||
EngineTestHelper eth(TEST_ENGINE);
|
||||
|
||||
initLaunchControl();
|
||||
|
||||
//load default config
|
||||
setDefaultLaunchParameters();
|
||||
|
||||
|
|
Loading…
Reference in New Issue