2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file map_averaging.h
|
|
|
|
*
|
|
|
|
* @date Dec 11, 2013
|
2017-01-03 03:05:22 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef ADC_AVERAGING_H_
|
|
|
|
#define ADC_AVERAGING_H_
|
|
|
|
|
|
|
|
#include "engine.h"
|
|
|
|
|
|
|
|
#if EFI_MAP_AVERAGING || defined(__DOXYGEN__)
|
|
|
|
|
|
|
|
#if EFI_PROD_CODE || defined(__DOXYGEN__)
|
|
|
|
void mapAveragingCallback(adcsample_t newValue);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
void initMapAveraging(Logging *sharedLogger, Engine *engine);
|
2018-02-06 12:47:19 -08:00
|
|
|
void refreshMapAveragingPreCalc(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
|
|
|
#endif /* EFI_MAP_AVERAGING */
|
|
|
|
|
|
|
|
#endif /* ADC_AVERAGING_H_ */
|