Defining a Macro to Return the Number of Elements in an Array
How are you able to get the compiler to accept the sizeof operator in your macro? When I do it I get these errors:
invalid application of ‘sizeof’ to incomplete type ‘const float[]’
invalid application of ‘sizeof’ to incomplete type ‘const uint16_t[]’
invalid application of ‘sizeof’ to incomplete type ‘const uint32_t[]’