duration vs timestamp

This commit is contained in:
Matthew Kennedy 2024-04-25 15:22:54 -07:00 committed by rusefi
parent 2d3b6eed36
commit b6a3d4f977
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ bool WaveChart::isStartedTooLongAgo() const {
* engineChartSize/20 is the longest meaningful chart.
*
*/
efitick_t chartDurationNt = getTimeNowNt() - startTimeNt;
efidur_t chartDurationNt = getTimeNowNt() - startTimeNt;
return startTimeNt != 0 && NT2US(chartDurationNt) > engineConfiguration->engineChartSize * 1000000 / 20;
}