ETB target is using integer values #945

refactoring - ADC mocking is a mess
This commit is contained in:
rusefi 2019-09-22 17:43:00 -04:00
parent 7d65f1931e
commit e99955fce5
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ SensorsState::SensorsState() {
}
int MockAdcState::getMockAdcValue(int hwChannel) const {
efiAssertVoid(OBD_PCM_Processor_Fault, hwChannel >= 0 && hwChannel < MOCK_ADC_SIZE, "hwChannel out of bounds");
efiAssert(OBD_PCM_Processor_Fault, hwChannel >= 0 && hwChannel < MOCK_ADC_SIZE, "hwChannel out of bounds", -1);
return fakeAdcValues[hwChannel];
}