lowing watchdog gap

This commit is contained in:
rusefillc 2023-11-17 16:43:53 -05:00 committed by rusefillc
parent 0809bfdf0d
commit d7c40a08c8
1 changed files with 2 additions and 2 deletions

View File

@ -408,8 +408,8 @@ static void assertTimeIsLinear() {
if (mostRecentMs != 0) {
efitimems_t gapInMs = msNow - mostRecentMs;
// todo: lower gapInMs threshold!
if (gapInMs > 500) {
// todo: lower gapInMs threshold?
if (gapInMs > 200) {
firmwareError(ObdCode::WATCH_DOG_SECONDS, "gap in time: now=%d mS, was %d mS, gap=%dmS",
msNow, mostRecentMs, gapInMs);
}