hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376

only:hellen154hyundai_f7
This commit is contained in:
rusefi 2024-07-10 18:03:28 -04:00
parent 69734692b2
commit 46907c3ea6
1 changed files with 3 additions and 1 deletions

View File

@ -237,7 +237,9 @@ adcsample_t AdcDevice::getAvgAdcValue(adc_channel_e hwChannel) {
// } else
if (sample > ADC_MAX_VALUE) {
if (!engineConfiguration->skipADC12bitAssert) {
criticalError("fast ADC unexpected sample %d. Please report and use skipADC12bitAssert to disable", sample);
criticalError("ADC unexpected sample %d at %ld uptime. Please report and use skipADC12bitAssert to disable.",
sample,
(uint32_t)getTimeNowS());
}
engine->outputChannels.unexpectedAdcSample = sample;
// sad hack which works around https://github.com/rusefi/rusefi/issues/6376 which we do not understand