| 836 | } |
| 837 | |
| 838 | void 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 | |
| 852 | void Heat::SwitchOffAll(bool includingChamberAndBed) noexcept |
| 853 | { |
no outgoing calls
no test coverage detected