Browse Source

Apply some #ifndef

Scott Lahteine 5 years ago
parent
commit
06324df072

+ 1
- 1
Marlin/src/HAL/HAL_STM32/fastio_STM32.h View File

@@ -45,7 +45,7 @@ void FastIO_init(); // Must be called before using fast io macros
45 45
 
46 46
 #define _BV32(b) (1UL << (b))
47 47
 
48
-#if !defined(PWM)
48
+#ifndef PWM
49 49
   #define PWM OUTPUT
50 50
 #endif
51 51
 

+ 1
- 1
Marlin/src/feature/mixing.h View File

@@ -25,7 +25,7 @@
25 25
 
26 26
 //#define MIXER_NORMALIZER_DEBUG
27 27
 
28
-#if !defined(__AVR__) // || DUAL_MIXING_EXTRUDER
28
+#ifndef __AVR__ // || DUAL_MIXING_EXTRUDER
29 29
   // Use 16-bit (or fastest) data for the integer mix factors
30 30
   typedef uint_fast16_t mixer_comp_t;
31 31
   typedef uint_fast16_t mixer_accu_t;

+ 1
- 1
Marlin/src/pins/stm32/pins_THE_BORG.h View File

@@ -21,7 +21,7 @@
21 21
  */
22 22
 #pragma once
23 23
 
24
-#if !defined(STM32F7)
24
+#ifndef STM32F7
25 25
   #error "Oops! Select an STM32F7 board in 'Tools > Board.'"
26 26
 #elif HOTENDS > 3 || E_STEPPERS > 3
27 27
   #error "The-Borg supports up to 3 hotends / E-steppers."

Loading…
Cancel
Save