This commit is contained in:
Your Name 2020-01-20 14:58:51 +00:00
parent 24071f9247
commit ce5f2046b2
2 changed files with 2 additions and 1 deletions

View File

@ -141,7 +141,7 @@
var d=e.data;
this.currentSpeed=d.speed;
this.currentRPM=d.rpm;
this.currentPSI=d.psi.toFixed(2);
this.currentPSI=parseFloat(d.psi)/2.036.toFixed(2);
}
}

View File

@ -74,6 +74,7 @@ func subscribe(w http.ResponseWriter, r *http.Request) {
return
}
time.Sleep(100 * time.Millisecond)
iterator++
}
}