MCPcopy Create free account
hub / github.com/FastLED/FastLED / millis64_reset

Function millis64_reset

src/fl/stl/chrono.cpp.hpp:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void millis64_reset() {
101 Millis64State& state = get_millis64_state();
102 fl::unique_lock<fl::mutex> lock(state.mutex);
103 state.accumulated = 0;
104 state.last_millis = 0;
105 state.initialized = false;
106}
107
108fl::u64 millis64() {
109 Millis64State& state = get_millis64_state();

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected