duration vs timestamp
This commit is contained in:
parent
2d3b6eed36
commit
b6a3d4f977
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue