Browse Source

!ENABLED => DISABLED

Scott Lahteine 6 years ago
parent
commit
c49844df66

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

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) {
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
   const uint32_t color = pixels.Color(r, g, b, w);
66
   const uint32_t color = pixels.Color(r, g, b, w);
67
   pixels.setBrightness(p);
67
   pixels.setBrightness(p);
68
-  #if !ENABLED(NEOPIXEL_IS_SEQUENTIAL)
68
+  #if DISABLED(NEOPIXEL_IS_SEQUENTIAL)
69
     set_neopixel_color(color);
69
     set_neopixel_color(color);
70
     return false;
70
     return false;
71
   #else
71
   #else

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

48
   #error "Oops!  Use 'BOARD_RAMPS_RE_ARM' to build for Re-ARM."
48
   #error "Oops!  Use 'BOARD_RAMPS_RE_ARM' to build for Re-ARM."
49
 #endif
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
   #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
52
   #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)
53
     #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
53
     #error "Oops!  Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu."
54
   #endif
54
   #endif

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

104
 //#define Z2_MS2_PIN         ? // shared with E3_MS2_PIN
104
 //#define Z2_MS2_PIN         ? // shared with E3_MS2_PIN
105
 //#define Z2_MS3_PIN         ? // shared with E3_MS3_PIN
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
   #define Z_PROBE_PIN      49
108
   #define Z_PROBE_PIN      49
109
 #endif // else Z_PROBE_PIN = Z_MIN_PIN
109
 #endif // else Z_PROBE_PIN = Z_MIN_PIN
110
 
110
 

Loading…
Cancel
Save