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

◆ stubResponseSink()

void fl::WLED::stubResponseSink ( const fl::json & response)
private

Stub response sink callback.

Parameters
responseJSON-RPC response to send

Called when Remote has a response to send. Logs FL_ERROR to indicate this needs to be implemented.

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

22 {
23 FL_UNUSED(response); // only consumed by FL_ERROR, a no-op on small platforms
24 FL_ERROR("WLED::stubResponseSink: Not implemented - provide a real ResponseSink callback");
25}
#define FL_UNUSED(x)
#define FL_ERROR(...)
Definition log.h:373

References FL_ERROR, fl::FL_NO_EXCEPT, and FL_UNUSED.