Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LemLib/LemLib
/ pause
Method
pause
src/lemlib/timer.cpp:57–60 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
55
}
56
57
void Timer::pause() {
58
if (!paused) lastTime = pros::millis();
59
paused = true;
60
}
61
62
void Timer::resume() {
63
if (paused) lastTime = pros::millis();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected