diff --git a/index.html b/index.html
index e993956..72a5d8e 100644
--- a/index.html
+++ b/index.html
@@ -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);
}
}
diff --git a/main.go b/main.go
index d844b23..ac4ccc9 100644
--- a/main.go
+++ b/main.go
@@ -74,6 +74,7 @@ func subscribe(w http.ResponseWriter, r *http.Request) {
return
}
time.Sleep(100 * time.Millisecond)
+ iterator++
}
}