Adapt G26 to work for all meshes
This commit is contained in:
@@ -95,6 +95,9 @@
|
||||
#define STRINGIFY(M) STRINGIFY_(M)
|
||||
|
||||
// Macros for bit masks
|
||||
#ifndef _BV
|
||||
#define _BV(B) (1UL<<(B))
|
||||
#endif
|
||||
#define TEST(n,b) (((n)&_BV(b))!=0)
|
||||
#define SBI(n,b) (n |= _BV(b))
|
||||
#define CBI(n,b) (n &= ~_BV(b))
|
||||
|
||||
Reference in New Issue
Block a user