hellen on a bike: both TS and SD card logs report -32v on secondary TPS and secondary PPS #6376
only: allowing override if we ever need it
This commit is contained in:
parent
d0e959ea92
commit
337f2ea588
|
@ -95,7 +95,9 @@ static adcsample_t getAvgAdcValue(int index, adcsample_t *samples, int bufDepth,
|
|||
|
||||
|
||||
// See https://github.com/rusefi/rusefi/issues/976 for discussion on this value
|
||||
#ifndef ADC_SAMPLING_FAST
|
||||
#define ADC_SAMPLING_FAST ADC_SAMPLE_28
|
||||
#endif
|
||||
|
||||
static void adc_callback_fast(ADCDriver *adcp) {
|
||||
// State may not be complete if we get a callback for "half done"
|
||||
|
|
|
@ -113,7 +113,9 @@ float getMcuTemperature() {
|
|||
}
|
||||
|
||||
// See https://github.com/rusefi/rusefi/issues/976 for discussion on these values
|
||||
#ifndef ADC_SAMPLING_SLOW
|
||||
#define ADC_SAMPLING_SLOW ADC_SAMPLE_56
|
||||
#endif
|
||||
// see also ADC_SAMPLING_FAST in adc_inputs.cpp
|
||||
|
||||
// Slow ADC has 16 channels we can sample, or 32 if ADC mux mode is enabled.
|
||||
|
|
Loading…
Reference in New Issue