This was discussed at length on the Arduino developers mailing list years ago and final conclusion is that it must be a macro. The reason is that some boards have a builtin led and some don't. The ...
#define DEF_CONST_VAL_INT(N,V) const cst_val N = {{.a={.type=CST_VAL_TYPE_INT,.ref_count=-1,.v={.ival=V}}}} #define DEF_CONST_VAL_STRING(N,S) const cst_val N = {{.a ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results