Suspend the heaters to conserve power or while doing Z probing
| 1232 | |
| 1233 | // Suspend the heaters to conserve power or while doing Z probing |
| 1234 | void Heat::SuspendHeaters(bool sus) noexcept |
| 1235 | { |
| 1236 | for (Heater *h : heaters) |
| 1237 | { |
| 1238 | if (h != nullptr) |
| 1239 | { |
| 1240 | h->Suspend(sus); |
| 1241 | } |
| 1242 | } |
| 1243 | } |
| 1244 | |
| 1245 | // Delete a sensor, if there is one. Must write-lock the sensors lock before calling this. |
| 1246 | void Heat::DeleteSensor(unsigned int sn) noexcept |
no test coverage detected