Browse Source

Fix 'UNUSED redefined' compiler warning (#13387)

pull/1/head
jmz52 5 years ago
committed by Scott Lahteine
parent
commit
8e0ac93d60
  1. 2
      Marlin/src/core/macros.h

2
Marlin/src/core/macros.h

@ -56,7 +56,7 @@
#define NANOSECONDS_PER_CYCLE (1000000000.0 / F_CPU)
// 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
#define STRINGIFY_(M) #M

Loading…
Cancel
Save