Browse Source

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

pull/1/head
Scott Lahteine 9 years ago
parent
commit
071c742b8a
  1. 4
      Marlin/macros.h

4
Marlin/macros.h

@ -24,8 +24,8 @@
#define MACROS_H #define MACROS_H
// Macros to make a string from a macro // Macros to make a string from a macro
#define STRINGIFY_(n) #n #define STRINGIFY_(M) #M
#define STRINGIFY(n) STRINGIFY_(n) #define STRINGIFY(M) STRINGIFY_(M)
// Macros for bit masks // Macros for bit masks
#define TEST(n,b) (((n)&_BV(b))!=0) #define TEST(n,b) (((n)&_BV(b))!=0)

Loading…
Cancel
Save