Compare commits

..

No commits in common. "995addbabcaf7179991551de5ea538d2fe73fc3f" and "e4fa961ef0d6d4471bdb2bf1cf3ad4f5f34d7886" have entirely different histories.

2 changed files with 1 additions and 10 deletions

View file

@ -410,15 +410,6 @@ window.addEventListener("load", (_) => {
socket.addEventListener("close", (event) => {
status.innerHTML = "Offline";
status.style = colors.highlightFault;
// Indicate all process values as unknown
[failsafe, highpressure, rp, dp, trough, thigh, volts, mbar].forEach((el) => {
if (!el.innerHTML.includes("??")) {
el.innerHTML += "??";
}
});
if (connected) {
console.log("Socket dead, reconnecting...");
}

View file

@ -14,7 +14,7 @@ var (
flagFake bool
flagListenHTTP string
flagPressureThresholdRough = ScientificNotationValue(1e-1)
flagPressureThresholdRoughHysteresis = ScientificNotationValue(3e-2)
flagPressureThresholdRoughHysteresis = ScientificNotationValue(2e-2)
flagPressureThresholdHigh = ScientificNotationValue(1e-4)
flagPressureThresholdHighHysteresis = ScientificNotationValue(2e-5)
)