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

Method GetFanValue

src/Fans/FansManager.cpp:177–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

ValueMenuItem.cppFile · 0.80
RepRap.cppFile · 0.80

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected