!ENABLED => DISABLED
This commit is contained in:
parent
304e0f8945
commit
c49844df66
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user