29 lines
602 B
C
29 lines
602 B
C
/**
|
|
* @file map_averaging.h
|
|
*
|
|
* @date Dec 11, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "engine.h"
|
|
|
|
#if EFI_MAP_AVERAGING
|
|
|
|
#if HAL_USE_ADC
|
|
void mapAveragingAdcCallback(adcsample_t newValue);
|
|
#endif
|
|
|
|
void initMapAveraging(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
void refreshMapAveragingPreCalc(DECLARE_ENGINE_PARAMETER_SIGNATURE);
|
|
|
|
void mapAveragingTriggerCallback(
|
|
uint32_t index, efitick_t edgeTimestamp DECLARE_ENGINE_PARAMETER_SUFFIX);
|
|
|
|
#if EFI_TUNER_STUDIO
|
|
void postMapState(TunerStudioOutputChannels *tsOutputChannels);
|
|
#endif
|
|
|
|
#endif /* EFI_MAP_AVERAGING */
|