Browse Source

!ENABLED => DISABLED

Scott Lahteine 6 years ago
parent
commit
c49844df66

+ 1
- 1
Marlin/src/feature/leds/neopixel.cpp View File

@@ -65,7 +65,7 @@ void setup_neopixel() {
65 65
 bool neopixel_set_led_color(const uint8_t r, const uint8_t g, const uint8_t b, const uint8_t w, const uint8_t p) {
66 66
   const uint32_t color = pixels.Color(r, g, b, w);
67 67
   pixels.setBrightness(p);
68
-  #if !ENABLED(NEOPIXEL_IS_SEQUENTIAL)
68
+  #if DISABLED(NEOPIXEL_IS_SEQUENTIAL)
69 69
     set_neopixel_color(color);
70 70
     return false;
71 71
   #else

+ 1
- 1
Marlin/src/pins/pins_RAMPS.h View File

@@ -48,7 +48,7 @@
48 48
   #error "Oops!  Use 'BOARD_RAMPS_RE_ARM' to build for Re-ARM."
49 49
 #endif
50 50
 
51
-#if !ENABLED(IS_RAMPS_SMART) && !ENABLED(IS_RAMPS_DUO) && !ENABLED(IS_RAMPS4DUE) && !ENABLED(TARGET_LPC1768)
51
+#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768)
52 52
   #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
53 53
     #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
54 54
   #endif

+ 1
- 1
Marlin/src/pins/pins_RURAMPS4D.h View File

@@ -104,7 +104,7 @@
104 104
 //#define Z2_MS2_PIN         ? // shared with E3_MS2_PIN
105 105
 //#define Z2_MS3_PIN         ? // shared with E3_MS3_PIN
106 106
 
107
-#if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
107
+#if DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN)
108 108
   #define Z_PROBE_PIN      49
109 109
 #endif // else Z_PROBE_PIN = Z_MIN_PIN
110 110
 

Loading…
Cancel
Save