parent
a3d86c61f2
commit
8d770daca8
|
@ -457,7 +457,7 @@ void Engine::efiWatchdog() {
|
|||
float secondsNow = currentTimeMillis();
|
||||
if (mostRecentSecond != 0) {
|
||||
float gapInSeconds = secondsNow - mostRecentSecond;
|
||||
if (gapInSeconds > 0.5) {
|
||||
if (gapInSeconds > 500) {
|
||||
// float has 24 bits in the mantissa, which should allow up to 8 significant figures
|
||||
// we loose precision here after about 1,000,000 seconds which is 11 days
|
||||
firmwareError(WATCH_DOG_SECONDS, "gap in seconds %f %f", secondsNow, gapInSeconds);
|
||||
|
|
Loading…
Reference in New Issue