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

Function inject_time_provider

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

Source from the content-addressed store, hash-verified

27}
28
29void inject_time_provider(const time_provider_t& provider) {
30 fl::unique_lock<fl::mutex> lock(get_time_mutex());
31 get_time_provider() = provider;
32}
33
34void clear_time_provider() {
35 fl::unique_lock<fl::mutex> lock(get_time_mutex());

Callers 1

FL_TEST_FILEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected