diff --git a/Marlin/src/HAL/HAL_AVR/fastio_AVR.h b/Marlin/src/HAL/HAL_AVR/fastio_AVR.h index 71c7c4781..269102e92 100644 --- a/Marlin/src/HAL/HAL_AVR/fastio_AVR.h +++ b/Marlin/src/HAL/HAL_AVR/fastio_AVR.h @@ -55,10 +55,6 @@ #error "Pins for this chip not defined in Arduino.h! If you have a working pins definition, please contribute!" #endif -#ifndef _BV - #define _BV(bit) (1UL << (bit)) -#endif - /** * Magic I/O routines * diff --git a/Marlin/src/HAL/HAL_DUE/HAL_Due.h b/Marlin/src/HAL/HAL_DUE/HAL_Due.h index c8f416067..548aa04e9 100644 --- a/Marlin/src/HAL/HAL_DUE/HAL_Due.h +++ b/Marlin/src/HAL/HAL_DUE/HAL_Due.h @@ -53,8 +53,6 @@ #define MYSERIAL customizedSerial #endif -#define _BV(bit) (1 << (bit)) - // We need the previous define before the include, or compilation bombs... #include "MarlinSerial_Due.h" diff --git a/Marlin/src/HAL/HAL_LPC1768/include/arduino.h b/Marlin/src/HAL/HAL_LPC1768/include/arduino.h index a88324fcf..64c0e9ec8 100644 --- a/Marlin/src/HAL/HAL_LPC1768/include/arduino.h +++ b/Marlin/src/HAL/HAL_LPC1768/include/arduino.h @@ -38,8 +38,6 @@ #define OUTPUT 0x01 #define INPUT_PULLUP 0x02 -#define _BV(bit) (1 << (bit)) - #define E2END 0xFFF // EEPROM end address typedef uint8_t byte; diff --git a/Marlin/src/HAL/HAL_STM32F1/HAL_Stm32f1.h b/Marlin/src/HAL/HAL_STM32F1/HAL_Stm32f1.h index 354b5eff0..598024a8d 100644 --- a/Marlin/src/HAL/HAL_STM32F1/HAL_Stm32f1.h +++ b/Marlin/src/HAL/HAL_STM32F1/HAL_Stm32f1.h @@ -77,8 +77,6 @@ #define MYSERIAL Serial3 #endif -#define _BV(bit) (1 << (bit)) - /** * TODO: review this to return 1 for pins that are not analog input */