fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.41k stars 433 forks source link

Thermal change on the TMC2240 driver is showing NaN #1138

Closed pedrolamas closed 1 year ago

pedrolamas commented 1 year ago

Fluidd Version

1.25.0

Browser

Edge

Device

Desktop PC

Operating System

Windows

What happened

As Fluidd now shows the TMC2240 driver temperature, this can report null if the driver is disabled, thus causing the Change column on the thermal chart to report NaN.

What did you expect to happen

Don't show any change value if the history only has null or report the correct value when possible to calculate.

How to reproduce

Additional information

image