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

Method SetConfiguredRpm

src/Tools/Spindle.cpp:167–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165}
166
167void Spindle::SetConfiguredRpm(uint32_t rpm, bool updateCurrentRpm) noexcept
168{
169 configuredRpm = rpm;
170 if (updateCurrentRpm)
171 {
172 SetRpm(configuredRpm);
173 }
174 reprap.SpindlesUpdated(); // configuredRpm is not flagged live
175}
176
177void Spindle::SetRpm(uint32_t rpm) noexcept
178{

Callers 3

GCodes2.cppFile · 0.80
ActivateMethod · 0.80
THROWSFunction · 0.80

Calls 1

SpindlesUpdatedMethod · 0.80

Tested by

no test coverage detected