| 175 | } |
| 176 | |
| 177 | float FansManager::GetFanValue(size_t fanNum) const noexcept |
| 178 | { |
| 179 | auto fan = FindFan(fanNum); |
| 180 | return (fan.IsNull()) ? -1 : fan->GetConfiguredPwm(); |
| 181 | } |
| 182 | |
| 183 | GCodeResult FansManager::SetFanValue(size_t fanNum, float speed, const StringRef& reply) noexcept |
| 184 | { |
no test coverage detected