Browse Source

Fix _BV already defined warnings for Teensy

Thomas Moore 7 years ago
parent
commit
7bb1721f35
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h

+ 3
- 0
Marlin/src/HAL/HAL_TEENSY35_36/HAL_Teensy.h View File

30
 // Includes
30
 // Includes
31
 // --------------------------------------------------------------------------
31
 // --------------------------------------------------------------------------
32
 
32
 
33
+// _BV is re-defined in Arduino.h
34
+#undef _BV
35
+
33
 #include <Arduino.h>
36
 #include <Arduino.h>
34
 
37
 
35
 // Redefine sq macro defined by teensy3/wiring.h
38
 // Redefine sq macro defined by teensy3/wiring.h

Loading…
Cancel
Save