fix bugs
This commit is contained in:
@@ -198,10 +198,10 @@
|
||||
|
||||
function getBoatLog(e)
|
||||
{
|
||||
let cmd = prompt("enter command");
|
||||
// let cmd = prompt("enter command");
|
||||
let boat = getDataFomEl(e.target);
|
||||
console.log("send cmd", boat, cmd);
|
||||
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";" + cmd);
|
||||
// console.log("send cmd", boat, cmd);
|
||||
// conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";" + cmd);
|
||||
|
||||
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";servotrim:0");
|
||||
conn.send(passEl.value + ";sendcmd;" + boat['id'] + ";servotrim:1");
|
||||
|
||||
Reference in New Issue
Block a user