nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ LED_COLOR_ARG_PASS

#define LED_COLOR_ARG_PASS ( ...)

#include <include/caf/led_effect.h>

Value:
__VA_ARGS__

Pass a color value as a macro argument.

LED_COLOR macro contains commas in its body. This means that after the argument is expanded, the macro is to be treated as multiple arguments. This also makes it impossible to pass an argument from macro level to another macro. The macro allows the usage of the color argument as an argument to another macro level.

Parameters
...Any list of arguments that have to be treated as a single argument for the macro.