Overflow in currentTimeMillis and getTimeNowSeconds #3531
it now takes 1000 times longer to overflow
This commit is contained in:
parent
825a57e33a
commit
46e9269982
|
@ -168,7 +168,7 @@ static EngineStateBlinkingTask engineStateBlinkingTask;
|
||||||
|
|
||||||
// todo: this overflows pretty fast!
|
// todo: this overflows pretty fast!
|
||||||
efitimems_t currentTimeMillis(void) {
|
efitimems_t currentTimeMillis(void) {
|
||||||
return US2MS(getTimeNowUs();
|
return US2MS(getTimeNowUs());
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: this overflows pretty fast!
|
// todo: this overflows pretty fast!
|
||||||
|
|
Loading…
Reference in New Issue