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

Method SwitchOff

src/Heating/Heat.cpp:838–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

836}
837
838void Heat::SwitchOff(int heater) noexcept
839{
840 const auto h = FindHeater(heater);
841 if (h.IsNotNull())
842 {
843 h->SwitchOff();
844 lastStandbyTools[heater] = nullptr;
845 if (heater == heaterBeingTuned)
846 {
847 heaterBeingTuned = -1;
848 }
849 }
850}
851
852void Heat::SwitchOffAll(bool includingChamberAndBed) noexcept
853{

Callers 9

GCodes2.cppFile · 0.45
ExitMethod · 0.45
SetBedHeaterMethod · 0.45
SetChamberHeaterMethod · 0.45
SwitchOffAllMethod · 0.45
DeleteToolMethod · 0.45
HeatersToOffMethod · 0.45
THROWSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected