FastLED 3.10.8
Loading...
Searching...
No Matches

◆ stubRequestSource()

fl::optional< fl::json > fl::WLED::stubRequestSource ( )
private

Stub request source callback.

Returns
nullopt (no request available)

Called when Remote needs to check for incoming requests. Logs FL_ERROR to indicate this needs to be implemented.

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

17 {
18 FL_ERROR("WLED::stubRequestSource: Not implemented - provide a real RequestSource callback");
19 return fl::nullopt;
20}
#define FL_ERROR(...)
Definition log.h:373
constexpr nullopt_t nullopt
Definition optional.h:13

References FL_ERROR, fl::FL_NO_EXCEPT, and fl::nullopt.

Referenced by WLED().

+ Here is the caller graph for this function: