Tank fixes (#892)

* fixing turnration computation

* updated tank computation

* fix rendering glitch

* restore tank computation

* rounding errors
This commit is contained in:
Peli de Halleux
2019-08-30 05:40:51 -07:00
committed by GitHub
parent 0de8a84de2
commit 277c9903bb
5 changed files with 106 additions and 16 deletions

View File

@ -129,7 +129,7 @@ namespace sensors.internal {
let nonActivated = 0;
function detectDevices() {
control.dmesg(`detect devices (${nonActivated} na)`)
//control.dmesg(`detect devices (${nonActivated} na)`)
const conns = analogMM.slice(AnalogOff.InConn, DAL.NUM_INPUTS)
let numChanged = 0;
const uartSensors: SensorInfo[] = [];
@ -198,7 +198,7 @@ namespace sensors.internal {
}
}
}
control.dmesg(`detect devices done`)
//control.dmesg(`detect devices done`)
}
export class Sensor extends control.Component {