Only define _BV in Marduino.h
This commit is contained in:
parent
d25231aea8
commit
9223261ea9
@ -61,8 +61,6 @@
|
|||||||
#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)
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
#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' };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user