Fix PSI
This commit is contained in:
parent
ce5f2046b2
commit
0563b88131
|
@ -140,8 +140,11 @@
|
|||
gotWsMessage: function(e) {
|
||||
var d=e.data;
|
||||
this.currentSpeed=d.speed;
|
||||
this.speed.set(this.currentSpeed);
|
||||
this.currentRPM=d.rpm;
|
||||
this.rpm.set(this.currentRPM);
|
||||
this.currentPSI=parseFloat(d.psi)/2.036.toFixed(2);
|
||||
this.psi.set(this.currentPSI);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue