Skip to content

Commit

Permalink
Only define _BV in Marduino.h
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 29, 2019
1 parent d25231a commit 9223261
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions Marlin/src/core/macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
#define L(CODE) CODE ":\n\t"

// Macros for bit masks
#undef _BV
#define _BV(n) (1<<(n))
#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)

Expand Down
1 change: 1 addition & 0 deletions Marlin/src/core/utility.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#pragma once

#include "../inc/MarlinConfigPre.h"
#include "../HAL/shared/Marduino.h"

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

Expand Down

0 comments on commit 9223261

Please sign in to comment.