dead code?
This commit is contained in:
parent
916fef0239
commit
b771082419
|
@ -23,8 +23,4 @@ void slowStartStopButtonCallback();
|
||||||
void setMockVoltage(int hwChannel, float voltage);
|
void setMockVoltage(int hwChannel, float voltage);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void setMockMapVoltage(float voltage);
|
|
||||||
void setMockAfrVoltage(float voltage);
|
|
||||||
void setMockMafVoltage(float voltage);
|
|
||||||
|
|
||||||
void printCurrentState(Logging *logging, int seconds, const char *engineTypeName, const char *firmwareBuildId);
|
void printCurrentState(Logging *logging, int seconds, const char *engineTypeName, const char *firmwareBuildId);
|
||||||
|
|
|
@ -41,17 +41,6 @@ void setMockVoltage(int hwChannel, float voltage) {
|
||||||
engine->engineState.mockAdcState.setMockVoltage(hwChannel, voltage);
|
engine->engineState.mockAdcState.setMockVoltage(hwChannel, voltage);
|
||||||
}
|
}
|
||||||
|
|
||||||
void setMockMafVoltage(float voltage) {
|
|
||||||
setMockVoltage(engineConfiguration->mafAdcChannel, voltage);
|
|
||||||
}
|
|
||||||
|
|
||||||
void setMockAfrVoltage(float voltage) {
|
|
||||||
setMockVoltage(engineConfiguration->afr.hwChannel, voltage);
|
|
||||||
}
|
|
||||||
|
|
||||||
void setMockMapVoltage(float voltage) {
|
|
||||||
setMockVoltage(engineConfiguration->map.sensor.hwChannel, voltage);
|
|
||||||
}
|
|
||||||
#endif /* EFI_ENABLE_MOCK_ADC */
|
#endif /* EFI_ENABLE_MOCK_ADC */
|
||||||
|
|
||||||
#if !EFI_UNIT_TEST
|
#if !EFI_UNIT_TEST
|
||||||
|
|
Loading…
Reference in New Issue