fixing build

This commit is contained in:
rusefi 2017-05-19 13:04:16 -04:00
parent 3fd3488b13
commit 081a5ee6dc
1 changed files with 3 additions and 1 deletions

View File

@ -24,7 +24,9 @@
#include "trigger_decoder.h"
#include "engine_math.h"
#include "trigger_universal.h"
#if EFI_SENSOR_CHART || defined(__DOXYGEN__)
#include "sensor_chart.h"
#endif /* EFI_SENSOR_CHART */
EXTERN_ENGINE;
@ -233,7 +235,7 @@ void TriggerStateWithRunningStatistics::runtimeStatistics(trigger_event_e const
} else {
scAddData(currentAngle, r / instantRpmValue[prevIndex]);
}
#endif
#endif /* EFI_SENSOR_CHART */
instantRpmValue[currentCycle.current_index] = r;
timeOfLastEvent[currentCycle.current_index] = nowNt;
}