Fixed timer

nm_live
noah metz 2024-01-22 13:53:22 -07:00
parent 0dd8ef747d
commit 1b1c914d5d
1 changed files with 2 additions and 2 deletions

@ -155,7 +155,7 @@ client.on("message", (topic, message) => {
timer_next_tick = setInterval(tick_timer, 50); timer_next_tick = setInterval(tick_timer, 50);
break; break;
case "DriverDone": case "DriverDone":
timer = "00:00"; timer = "0:00";
break; break;
case "Autonomous": case "Autonomous":
timer_end = new Date(start_ms + 15000); timer_end = new Date(start_ms + 15000);
@ -163,7 +163,7 @@ client.on("message", (topic, message) => {
timer_next_tick = setInterval(tick_timer, 50); timer_next_tick = setInterval(tick_timer, 50);
break; break;
case "AutonomousDone": case "AutonomousDone":
timer = "00:00"; timer = "0:00";
break; break;
case "Abandoned": case "Abandoned":
timer = "Abandoned"; timer = "Abandoned";