Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dalathegreat/Battery-Emulator
/ reset
Method
reset
Software/src/devboard/utils/timer.cpp:16–18 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
14
}
15
16
void MyTimer::reset(void) {
17
previous_millis = millis();
18
}
19
20
void MyTimer::set_interval(unsigned long interval) {
21
this->interval = interval;
Callers
2
onOTAStart
Function · 0.45
onOTAProgress
Function · 0.45
Calls
1
millis
Function · 0.85
Tested by
no test coverage detected