Revert _BV testing commit

This reverts commit 9223261ea9.
This commit is contained in:
Scott Lahteine 2019-08-30 16:09:57 -05:00
parent 05ef9b2f55
commit 0bcb64403c
2 changed files with 2 additions and 1 deletions

View File

@ -61,6 +61,8 @@
#define L(CODE) CODE ":\n\t" #define L(CODE) CODE ":\n\t"
// Macros for bit masks // Macros for bit masks
#undef _BV
#define _BV(n) (1<<(n))
#define TEST(n,b) !!((n)&_BV(b)) #define TEST(n,b) !!((n)&_BV(b))
#define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0) #define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)

View File

@ -22,7 +22,6 @@
#pragma once #pragma once
#include "../inc/MarlinConfigPre.h" #include "../inc/MarlinConfigPre.h"
#include "../HAL/shared/Marduino.h"
constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' }; constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };