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

Method Exit

src/Heating/Heat.cpp:284–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

282}
283
284void Heat::Exit() noexcept
285{
286 {
287 ReadLocker Lock(heatersLock);
288
289 for (Heater *h : heaters)
290 {
291 if (h != nullptr)
292 {
293 h->SwitchOff();
294 }
295 }
296 }
297
298 heaterTask.Suspend();
299}
300
301#if SUPPORT_REMOTE_COMMANDS
302

Callers

nothing calls this directly

Calls 2

SwitchOffMethod · 0.45
SuspendMethod · 0.45

Tested by

no test coverage detected