Fix temperature control continually turning off the heaters every tick
authorJim Morris <morris@wolfman.com>
Sun, 9 Aug 2015 22:37:39 +0000 (15:37 -0700)
committerJim Morris <morris@wolfman.com>
Sun, 9 Aug 2015 22:37:39 +0000 (15:37 -0700)
commit3517edceffc64a7cb6c41b2ff634fb6bf42d48dc
treefcc12734ea89ad878e7b8b0a8fb93b20b4ca5a59
parentafeaff0a3b8c366e1b5b864041e47a6c155277a5
Fix temperature control continually turning off the heaters every tick
clean up the checks for temperature being turned off was incoinsistent between setting target temperature to 0 or -1
now treats either as being off.
src/modules/tools/temperaturecontrol/TemperatureControl.cpp