This commit is contained in:
rusefi 2017-06-22 09:23:42 +03:00
parent 84a0a042c8
commit 373fd46a0f
2 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,9 @@
/**
* @file map_averaging.cpp
*
* In order to have best MAP estimate possible, we real MAP value at a relatively high frequency
* and average the value within a specified angle position window for each cylinder
*
* @date Dec 11, 2013
* @author Andrey Belomutskiy, (c) 2012-2017
*
@ -64,7 +67,7 @@ static float accumulators[2];
static int counters[2];
/**
* Running MAP accumulator
* Running MAP accumulator - sum of all measurements within averaging window
*/
static volatile float mapAccumulator = 0;
/**
@ -80,6 +83,9 @@ static float v_averagedMapValue;
EXTERN_ENGINE
;
/**
* here we have averaging start and averaging end points for each cylinder
*/
static scheduling_s startTimer[INJECTION_PIN_COUNT][2];
static scheduling_s endTimer[INJECTION_PIN_COUNT][2];

View File

@ -1,4 +1,7 @@
/**
*
* See also map_averaging.cpp
*
* @author Andrey Belomutskiy, (c) 2012-2017
*/
#include "main.h"