feat: increased DC In Voltage cutoff to match real world measurements (#1356)

This commit is contained in:
Marc
2023-03-19 16:34:31 +01:00
committed by GitHub
parent 698357b57d
commit 0e867e9b1c

View File

@@ -216,7 +216,7 @@ internal class SensorsReader: Reader<[Sensor_p]> {
}
// cut off low dc in voltage
if let idx = self.list.firstIndex(where: { $0.key == "VD0R" }), self.list[idx].value < 0.1 {
if let idx = self.list.firstIndex(where: { $0.key == "VD0R" }), self.list[idx].value < 0.4 {
self.list[idx].value = 0
}
// cut off low dc in current