nRF Connect SDK API 0.1.0
|
#define LED_COLOR_ARG_PASS | ( | ... | ) | __VA_ARGS__ |
#include <include/caf/led_effect.h>
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.
... | Any list of arguments that have to be treated as a single argument for the macro. |