Skip to content

Commit 1b6fcb9

Browse files
committed
Fixed Temp measurements, closes #1
1 parent c657cec commit 1b6fcb9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

dm40/parsing.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ def resolve_slot_scale(slot: str, kind: str, sign_flag: int):
100100
info = AMP_SCALE_MAP[scale_flag]
101101
elif slot == "M1" and kind in ("RES", "RES_ONLINE", "CONT"):
102102
info = RES_SCALE_MAP[scale_flag]
103+
elif slot == "TC" and kind == "TEMP":
104+
info = (6000.0, "°C", 1.0, 1)
103105
elif slot == "RES" and kind == "DIODE":
104106
return 6000.0 * factor, "Ω", 1.0, 1
105107
else:

0 commit comments

Comments
 (0)