29 lines
578 B
C
29 lines
578 B
C
/**
|
|
* @file map_averaging.h
|
|
*
|
|
* @date Dec 11, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
|
*/
|
|
|
|
#ifndef ADC_AVERAGING_H_
|
|
#define ADC_AVERAGING_H_
|
|
|
|
#include "engine.h"
|
|
|
|
#if EFI_MAP_AVERAGING
|
|
|
|
#if HAL_USE_ADC
|
|
void mapAveragingAdcCallback(adcsample_t newValue);
|
|
#endif
|
|
|
|
void initMapAveraging(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
void refreshMapAveragingPreCalc(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
|
|
#if EFI_TUNER_STUDIO
|
|
void postMapState(TunerStudioOutputChannels *tsOutputChannels);
|
|
#endif
|
|
|
|
#endif /* EFI_MAP_AVERAGING */
|
|
|
|
#endif /* ADC_AVERAGING_H_ */
|