Closed ghandye closed 1 year ago
After further review with @nebhead in the Discord, it sounds like https://github.com/nebhead/PiFire/commit/da464dcfceb88ad4b8e6e308d904357983c5c491 should have fixed this for the ST7789 after all. Closing based on that developer feedback.
Describe the bug ST7789 display crashes if fewer than two food probes are defined.
To Reproduce (Distilled from comments by @EricPalmquist and @nebhead on PiFire Discord) Steps to reproduce the behavior:
Expected behavior Display should not crash if fewer than two food probes are defined.
PiFire Version: Main (1.5.x)
Additional context Behavior reported by @EricPalmquist and probable bug identified by @nebhead on PiFire Discord. Documented here as an issue for posterity.
A similar bugfix exists in https://github.com/nebhead/PiFire/commit/da464dcfceb88ad4b8e6e308d904357983c5c491 but does not cover ST7789 displays (per @nebhead).