Closed pedrolamas closed 1 year ago
We currently use the last (most recent) thermal history item and the 5th oldest from that and calculate the thermal change.
This was working fine as up until now the thermal history was always a valid number, however the TMC2240 can report null.
null
As such this PR changes the behavior to the following:
Fixes #1138
We currently use the last (most recent) thermal history item and the 5th oldest from that and calculate the thermal change.
This was working fine as up until now the thermal history was always a valid number, however the TMC2240 can report
null
.As such this PR changes the behavior to the following:
null
Fixes #1138