Skip to content

Commit

Permalink
Merge pull request #3624 from pavelmachek/m_35_trail
Browse files Browse the repository at this point in the history
trail 0.11: bugifx
  • Loading branch information
bobrippling authored Oct 26, 2024
2 parents f7381a7 + e7392ac commit 13e8c36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions apps/trail/ChangeLog
Original file line number Diff line number Diff line change
@@ -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)

2 changes: 1 addition & 1 deletion apps/trail/metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
5 changes: 2 additions & 3 deletions apps/trail/trail.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 13e8c36

Please sign in to comment.