mirror of https://github.com/FOME-Tech/fome-fw.git
comment didn't get moved for some previous refactor
This commit is contained in:
parent
acb6c0221a
commit
0a1f367839
|
@ -11,6 +11,7 @@ void Timer::reset() {
|
|||
}
|
||||
|
||||
void Timer::init() {
|
||||
// Use not-quite-minimum value to avoid overflow
|
||||
m_lastReset = INT64_MIN / 8;
|
||||
}
|
||||
|
||||
|
|
|
@ -38,6 +38,5 @@ public:
|
|||
float getElapsedSecondsAndReset(efitick_t nowNt);
|
||||
|
||||
private:
|
||||
// Use not-quite-minimum value to avoid overflow
|
||||
efitick_t m_lastReset;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue