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

Method Adjust

src/Display/ValueMenuItem.cpp:392–397  ·  view source on GitHub ↗

Adjust this element, returning true if we have finished adjustment. 'clicks' is the number of encoder clicks to adjust by, or 0 if the button was pushed.

Source from the content-addressed store, hash-verified

390// Adjust this element, returning true if we have finished adjustment.
391// 'clicks' is the number of encoder clicks to adjust by, or 0 if the button was pushed.
392bool ValueMenuItem::Adjust(int clicks) noexcept
393{
394 return (clicks == 0) // if button has been pressed
395 ? Adjust_SelectHelper()
396 : Adjust_AlterHelper(clicks);
397}
398
399#endif
400

Callers 1

EncoderActionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected