Skip to content

Commit 0bcb644

Browse files
committed
Revert _BV testing commit
This reverts commit 9223261.
1 parent 05ef9b2 commit 0bcb644

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Marlin/src/core/macros.h

+2
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
#define L(CODE) CODE ":\n\t"
6262

6363
// Macros for bit masks
64+
#undef _BV
65+
#define _BV(n) (1<<(n))
6466
#define TEST(n,b) !!((n)&_BV(b))
6567
#define SET_BIT_TO(N,B,TF) do{ if (TF) SBI(N,B); else CBI(N,B); }while(0)
6668

Marlin/src/core/utility.h

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#pragma once
2323

2424
#include "../inc/MarlinConfigPre.h"
25-
#include "../HAL/shared/Marduino.h"
2625

2726
constexpr char axis_codes[XYZE] = { 'X', 'Y', 'Z', 'E' };
2827

0 commit comments

Comments
 (0)