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