From c49844df66213dfab5dbcc12d772f0a4279f2141 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 16 Feb 2018 01:43:35 -0600 Subject: [PATCH] !ENABLED => DISABLED --- Marlin/src/feature/leds/neopixel.cpp | 2 +- Marlin/src/pins/pins_RAMPS.h | 2 +- Marlin/src/pins/pins_RURAMPS4D.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Marlin/src/feature/leds/neopixel.cpp b/Marlin/src/feature/leds/neopixel.cpp index d3e292d705..c56b862ed2 100644 --- a/Marlin/src/feature/leds/neopixel.cpp +++ b/Marlin/src/feature/leds/neopixel.cpp @@ -65,7 +65,7 @@ void setup_neopixel() { 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) { const uint32_t color = pixels.Color(r, g, b, w); pixels.setBrightness(p); - #if !ENABLED(NEOPIXEL_IS_SEQUENTIAL) + #if DISABLED(NEOPIXEL_IS_SEQUENTIAL) set_neopixel_color(color); return false; #else diff --git a/Marlin/src/pins/pins_RAMPS.h b/Marlin/src/pins/pins_RAMPS.h index d5b603ea59..2fe422b590 100644 --- a/Marlin/src/pins/pins_RAMPS.h +++ b/Marlin/src/pins/pins_RAMPS.h @@ -48,7 +48,7 @@ #error "Oops! Use 'BOARD_RAMPS_RE_ARM' to build for Re-ARM." #endif -#if !ENABLED(IS_RAMPS_SMART) && !ENABLED(IS_RAMPS_DUO) && !ENABLED(IS_RAMPS4DUE) && !ENABLED(TARGET_LPC1768) +#if DISABLED(IS_RAMPS_SMART) && DISABLED(IS_RAMPS_DUO) && DISABLED(IS_RAMPS4DUE) && DISABLED(TARGET_LPC1768) #if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__) #error "Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu." #endif diff --git a/Marlin/src/pins/pins_RURAMPS4D.h b/Marlin/src/pins/pins_RURAMPS4D.h index 5d9bd2b387..2ad365e00f 100644 --- a/Marlin/src/pins/pins_RURAMPS4D.h +++ b/Marlin/src/pins/pins_RURAMPS4D.h @@ -104,7 +104,7 @@ //#define Z2_MS2_PIN ? // shared with E3_MS2_PIN //#define Z2_MS3_PIN ? // shared with E3_MS3_PIN -#if !ENABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) +#if DISABLED(Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN) #define Z_PROBE_PIN 49 #endif // else Z_PROBE_PIN = Z_MIN_PIN