JNI for test coverage #3965
This commit is contained in:
parent
c4339e2148
commit
9ba10b19d4
|
@ -72,7 +72,6 @@ int copyCompositeEvents(CompositeEvent *events) {
|
||||||
|
|
||||||
static void setToothLogReady(bool value) {
|
static void setToothLogReady(bool value) {
|
||||||
#if EFI_TUNER_STUDIO && (EFI_PROD_CODE || EFI_SIMULATOR)
|
#if EFI_TUNER_STUDIO && (EFI_PROD_CODE || EFI_SIMULATOR)
|
||||||
efiAssertVoid(OBD_PCM_Processor_Fault, engine != nullptr, "engine null");
|
|
||||||
engine->outputChannels.toothLogReady = value;
|
engine->outputChannels.toothLogReady = value;
|
||||||
#endif // EFI_TUNER_STUDIO
|
#endif // EFI_TUNER_STUDIO
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,7 +266,6 @@ expected<percent_t> EtbController::getSetpointIdleValve() const {
|
||||||
// VW ETB idle mode uses an ETB only for idle (a mini-ETB sets the lower stop, and a normal cable
|
// VW ETB idle mode uses an ETB only for idle (a mini-ETB sets the lower stop, and a normal cable
|
||||||
// can pull the throttle up off the stop.), so we directly control the throttle with the idle position.
|
// can pull the throttle up off the stop.), so we directly control the throttle with the idle position.
|
||||||
#if EFI_TUNER_STUDIO && (EFI_PROD_CODE || EFI_SIMULATOR)
|
#if EFI_TUNER_STUDIO && (EFI_PROD_CODE || EFI_SIMULATOR)
|
||||||
efiAssert(OBD_PCM_Processor_Fault, engine != nullptr, "engine null", 0);
|
|
||||||
engine->outputChannels.etbTarget = m_idlePosition;
|
engine->outputChannels.etbTarget = m_idlePosition;
|
||||||
#endif // EFI_TUNER_STUDIO
|
#endif // EFI_TUNER_STUDIO
|
||||||
return clampF(0, m_idlePosition, 100);
|
return clampF(0, m_idlePosition, 100);
|
||||||
|
|
Loading…
Reference in New Issue