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:
parent
69734692b2
commit
46907c3ea6
|
@ -237,7 +237,9 @@ adcsample_t AdcDevice::getAvgAdcValue(adc_channel_e hwChannel) {
|
||||||
// } else
|
// } else
|
||||||
if (sample > ADC_MAX_VALUE) {
|
if (sample > ADC_MAX_VALUE) {
|
||||||
if (!engineConfiguration->skipADC12bitAssert) {
|
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;
|
engine->outputChannels.unexpectedAdcSample = sample;
|
||||||
// sad hack which works around https://github.com/rusefi/rusefi/issues/6376 which we do not understand
|
// sad hack which works around https://github.com/rusefi/rusefi/issues/6376 which we do not understand
|
||||||
|
|
Loading…
Reference in New Issue