Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Duet3D/RepRapFirmware
/ GetButtonPress
Method
GetButtonPress
src/Display/RotaryEncoder.cpp:116–121 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
114
}
115
116
bool RotaryEncoder::GetButtonPress() noexcept
117
{
118
const bool ret = newPress;
119
newPress = false;
120
return ret;
121
}
122
123
#endif
124
Callers
1
Spin
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected