Fix 'UNUSED redefined' compiler warning (#13387)

This commit is contained in:
jmz52 2019-03-13 12:34:02 +03:00 committed by Scott Lahteine
parent 0278ad0a6d
commit 8e0ac93d60

View File

@ -56,7 +56,7 @@
#define NANOSECONDS_PER_CYCLE (1000000000.0 / F_CPU) #define NANOSECONDS_PER_CYCLE (1000000000.0 / F_CPU)
// Remove compiler warning on an unused variable // Remove compiler warning on an unused variable
#define UNUSED(x) ((void)(x)) #define UNUSED(X) (void)X
// Macros to make a string from a macro // Macros to make a string from a macro
#define STRINGIFY_(M) #M #define STRINGIFY_(M) #M