FastLED 3.10.9
Loading...
Searching...
No Matches

◆ setManagedCompletionWait()

DriverCompletionWait fl::detail::setManagedCompletionWait ( DriverCompletionWait wait)

Internal singleton hooks; return the previous hook to allow scoped tests.

Definition at line 17 of file driver_completion_wait.cpp.hpp.

17 {
19 const auto previous = hooks.managed;
20 hooks.managed = wait;
21 return previous;
22}
static T & instance() FL_NO_EXCEPT
Definition singleton.h:41

References fl::FL_NO_EXCEPT, and fl::Singleton< T, N >::instance().

Referenced by fl::ChannelManager::registry().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: