Browse Source

Revert _BV testing commit

This reverts commit 9223261ea9.
pull/1/head
Scott Lahteine 5 years ago
parent
commit
0bcb64403c
  1. 2
      Marlin/src/core/macros.h
  2. 1
      Marlin/src/core/utility.h

2
Marlin/src/core/macros.h

@ -61,6 +61,8 @@
#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)

1
Marlin/src/core/utility.h

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

Loading…
Cancel
Save