Browse Source

!ENABLED => DISABLED

pull/1/head
Scott Lahteine 7 years ago
parent
commit
c49844df66
  1. 2
      Marlin/src/feature/leds/neopixel.cpp
  2. 2
      Marlin/src/pins/pins_RAMPS.h
  3. 2
      Marlin/src/pins/pins_RURAMPS4D.h

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

2
Marlin/src/pins/pins_RAMPS.h

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

2
Marlin/src/pins/pins_RURAMPS4D.h

@ -104,7 +104,7 @@
//#define Z2_MS2_PIN ? // shared with E3_MS2_PIN //#define Z2_MS2_PIN ? // shared with E3_MS2_PIN
//#define Z2_MS3_PIN ? // shared with E3_MS3_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 #define Z_PROBE_PIN 49
#endif // else Z_PROBE_PIN = Z_MIN_PIN #endif // else Z_PROBE_PIN = Z_MIN_PIN

Loading…
Cancel
Save