From 7bb1721f35224b792c2cedcc73969b41c3d7c3f2 Mon Sep 17 00:00:00 2001 From: Thomas Moore Date: Fri, 24 Nov 2017 22:34:39 -0600 Subject: [PATCH] Fix _BV already defined warnings for Teensy --- Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h b/Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h index f4de615a6d..b5dfb60802 100644 --- a/Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h +++ b/Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h @@ -30,6 +30,9 @@ // Includes // -------------------------------------------------------------------------- +// _BV is re-defined in Arduino.h +#undef _BV + #include // Redefine sq macro defined by teensy3/wiring.h