FastLED 3.9.15
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 15 of file wled.cpp.hpp.

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

References FL_ERROR, and fl::nullopt.

Referenced by WLED().

+ Here is the caller graph for this function: