MCPcopy Create free account
hub / github.com/Duet3D/RepRapFirmware / SuspendHeaters

Method SuspendHeaters

src/Heating/Heat.cpp:1234–1243  ·  view source on GitHub ↗

Suspend the heaters to conserve power or while doing Z probing

Source from the content-addressed store, hash-verified

1232
1233// Suspend the heaters to conserve power or while doing Z probing
1234void 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.
1246void Heat::DeleteSensor(unsigned int sn) noexcept

Callers 2

RunStateMachineMethod · 0.80

Calls 1

SuspendMethod · 0.45

Tested by

no test coverage detected