From feb5f6213befe330294b1ff763e0b5fc510e800f Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Fri, 25 Oct 2024 19:28:16 +0200 Subject: [PATCH] trail: Disable demo/debugging hacks. --- apps/trail/trail.app.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/trail/trail.app.js b/apps/trail/trail.app.js index aa06d9e1d..601a9f089 100644 --- a/apps/trail/trail.app.js +++ b/apps/trail/trail.app.js @@ -134,7 +134,6 @@ let gps = { init: function(x) { this.emulator = (process.env.BOARD=="EMSCRIPTEN" || process.env.BOARD=="EMSCRIPTEN2")?1:0; - this.emulator = 1; // FIXME }, state: {}, on_gps: function(f) { @@ -602,7 +601,7 @@ function step_to(pp, pass_all) { return quiet; } -var demo_mode = 0; //fixme +var demo_mode = 0; function step() { const fast = 0; @@ -666,7 +665,7 @@ function step() { drop_last(); let v2 = getTime(); print("Step took", (v2-v1), "seconds"); - setTimeout(step, 10); /* FIXME! */ + setTimeout(step, 1000); } function recover() {