Commit a5c1ae9d authored by D1plo1d's avatar D1plo1d

Changing pronserve inspector to display a more reasonable persision

parent 7264c5e1
......@@ -32,7 +32,7 @@ var onConnect = function(ws) {
{
var name = sensorNames[i];
var val = parseFloat(msg.sensors[name]);
$("."+name+" .val").html(val.format(2));
$("."+name+" .val").html(val.format(1));
}
}
$console.append("\n"+evt.data);
......
......@@ -16,10 +16,10 @@
</h1>
<div class="sensors">
<div class="extruder pull-right">
Extruder: <span class="val">xx.xx</span><span class="deg">&deg;C</span>
Extruder: <span class="val">xx.x</span><span class="deg">&deg;C</span>
</div>
<div class="bed pull-right">
Bed: <span class="val"/>xx.xx</span><span class="deg">&deg;C</span>
Bed: <span class="val"/>xx.x</span><span class="deg">&deg;C</span>
</div>
<div class="clearfix"></div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment