Update app.js

pull/1394/head
nujw 2022-02-04 22:06:26 +13:00 committed by GitHub
parent 0e0ffb0bff
commit a3d05f8975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Mike Bennett mike[at]kereru.com
1.14 : Add VMG screen
1.34 : Add bluetooth data stream for Droidscript
*/
var v = '1.39';
var v = '1.40';
/*kalmanjs, Wouter Bulten, MIT, https://github.com/wouterbulten/kalmanjs */
var KalmanFilter = (function () {
@ -637,6 +637,13 @@ function btSend(dat) {
console.log(JSON.stringify(dat)); // transmit the data
}
function btNextWP() {
if ( cfg.modeA == 2 || cfg.modeA == 3) {
nxtWp(); // Dist or VMG mode - Select next waypoint
onGPS(lf);
}
}
// == Events