Browse Source

Move STRINGIFY to macros.h, use in language.h

Scott Lahteine 8 years ago
parent
commit
071c742b8a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/macros.h

+ 2
- 2
Marlin/macros.h View File

24
 #define MACROS_H
24
 #define MACROS_H
25
 
25
 
26
 // Macros to make a string from a macro
26
 // Macros to make a string from a macro
27
-#define STRINGIFY_(n) #n
28
-#define STRINGIFY(n) STRINGIFY_(n)
27
+#define STRINGIFY_(M) #M
28
+#define STRINGIFY(M) STRINGIFY_(M)
29
 
29
 
30
 // Macros for bit masks
30
 // Macros for bit masks
31
 #define TEST(n,b) (((n)&_BV(b))!=0)
31
 #define TEST(n,b) (((n)&_BV(b))!=0)

Loading…
Cancel
Save