Update app.js

master
weeurey 2021-11-20 17:39:48 +00:00 committed by GitHub
parent 9f26994f5c
commit 09be008dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,6 @@ var locale = require("locale");
var marginTop = 25;
var flag = false;
var storage = require('Storage');
const settings = storage.readJSON('setting.json',1) || { HID: false };
@ -75,6 +74,8 @@ if (next) {
} else if(lastx==0 && lasty==0){
writeLine('play/pause', 3);
//setTimeout(drawApp, 1000);
Bluetooth.println(JSON.stringify({t:"music", n:"play"}));
toggle(() => {});
}
lastx = 0;