Merge pull request #3624 from pavelmachek/m_35_trail

trail 0.11: bugifx
pull/3629/head
Rob Pilling 2024-10-26 12:25:30 +01:00 committed by GitHub
commit 13e8c368bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,4 @@
0.01: New App!
0.10: Redesign to make screen updates fast
0.11: bugfix (demo mode was enabled by default)

View File

@ -1,6 +1,6 @@
{ "id": "trail",
"name": "Trail Rail",
"version":"0.10",
"version":"0.11",
"description": "Follow a GPX track in car or on bike",
"icon": "app.png",
"readme": "README.md",

View File

@ -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() {