|
310 | 310 | //#define ADAPTIVE_FAN_SLOWING // Slow down the part-cooling fan if the temperature drops
|
311 | 311 | #if ENABLED(ADAPTIVE_FAN_SLOWING)
|
312 | 312 | //#define REPORT_ADAPTIVE_FAN_SLOWING // Report fan slowing activity to the console
|
313 |
| - #if EITHER(MPCTEMP, PIDTEMP) |
| 313 | + #if ANY(MPCTEMP, PIDTEMP) |
314 | 314 | //#define TEMP_TUNING_MAINTAIN_FAN // Don't slow down the fan speed during M303 or M306 T
|
315 | 315 | #endif
|
316 | 316 | #endif
|
|
759 | 759 | #if ENABLED(NEOPIXEL_LED)
|
760 | 760 | //#define CASE_LIGHT_USE_NEOPIXEL // Use NeoPixel LED as case light
|
761 | 761 | #endif
|
762 |
| - #if EITHER(RGB_LED, RGBW_LED) |
| 762 | + #if ANY(RGB_LED, RGBW_LED) |
763 | 763 | //#define CASE_LIGHT_USE_RGB_LED // Use RGB / RGBW LED as case light
|
764 | 764 | #endif
|
765 |
| - #if EITHER(CASE_LIGHT_USE_NEOPIXEL, CASE_LIGHT_USE_RGB_LED) |
| 765 | + #if ANY(CASE_LIGHT_USE_NEOPIXEL, CASE_LIGHT_USE_RGB_LED) |
766 | 766 | #define CASE_LIGHT_DEFAULT_COLOR { 255, 255, 255, 255 } // { Red, Green, Blue, White }
|
767 | 767 | #endif
|
768 | 768 | #endif
|
|
1175 | 1175 | */
|
1176 | 1176 | //#define INPUT_SHAPING_X
|
1177 | 1177 | //#define INPUT_SHAPING_Y
|
1178 |
| -#if EITHER(INPUT_SHAPING_X, INPUT_SHAPING_Y) |
| 1178 | +#if ANY(INPUT_SHAPING_X, INPUT_SHAPING_Y) |
1179 | 1179 | #if ENABLED(INPUT_SHAPING_X)
|
1180 | 1180 | #define SHAPING_FREQ_X 40 // (Hz) The default dominant resonant frequency on the X axis.
|
1181 | 1181 | #define SHAPING_ZETA_X 0.15f // Damping ratio of the X axis (range: 0.0 = no damping to 1.0 = critical damping).
|
|
1417 | 1417 | */
|
1418 | 1418 | //#define DIGIPOT_MCP4018 // Requires https://github.com/felias-fogg/SlowSoftI2CMaster
|
1419 | 1419 | //#define DIGIPOT_MCP4451
|
1420 |
| -#if EITHER(DIGIPOT_MCP4018, DIGIPOT_MCP4451) |
| 1420 | +#if ANY(DIGIPOT_MCP4018, DIGIPOT_MCP4451) |
1421 | 1421 | #define DIGIPOT_I2C_NUM_CHANNELS 8 // 5DPRINT:4 AZTEEG_X3_PRO:8 MKS_SBASE:5 MIGHTYBOARD_REVE:5
|
1422 | 1422 |
|
1423 | 1423 | // Actual motor currents in Amps. The number of entries must match DIGIPOT_I2C_NUM_CHANNELS.
|
|
1474 | 1474 | //
|
1475 | 1475 | //#define LCD_BACKLIGHT_TIMEOUT_MINS 1 // (minutes) Timeout before turning off the backlight
|
1476 | 1476 |
|
1477 |
| -#if HAS_BED_PROBE && EITHER(HAS_MARLINUI_MENU, HAS_TFT_LVGL_UI) |
| 1477 | +#if HAS_BED_PROBE && ANY(HAS_MARLINUI_MENU, HAS_TFT_LVGL_UI) |
1478 | 1478 | //#define PROBE_OFFSET_WIZARD // Add a Probe Z Offset calibration option to the LCD menu
|
1479 | 1479 | #if ENABLED(PROBE_OFFSET_WIZARD)
|
1480 | 1480 | /**
|
|
1543 | 1543 | */
|
1544 | 1544 | #define SHOW_BOOTSCREEN // Show the Marlin bootscreen on startup. ** ENABLE FOR PRODUCTION **
|
1545 | 1545 | #if ENABLED(SHOW_BOOTSCREEN)
|
1546 |
| - #define BOOTSCREEN_TIMEOUT 4000 // (ms) Total Duration to display the boot screen(s) |
1547 |
| - #if EITHER(HAS_MARLINUI_U8GLIB, TFT_COLOR_UI) |
| 1546 | + #define BOOTSCREEN_TIMEOUT 3000 // (ms) Total Duration to display the boot screen(s) |
| 1547 | + #if ANY(HAS_MARLINUI_U8GLIB, TFT_COLOR_UI) |
1548 | 1548 | #define BOOT_MARLIN_LOGO_SMALL // Show a smaller Marlin logo on the Boot Screen (saving lots of flash)
|
1549 | 1549 | #endif
|
1550 | 1550 | #if HAS_MARLINUI_U8GLIB
|
1551 | 1551 | //#define BOOT_MARLIN_LOGO_ANIMATED // Animated Marlin logo. Costs ~3260 (or ~940) bytes of flash.
|
1552 | 1552 | #endif
|
1553 |
| - #if EITHER(HAS_MARLINUI_U8GLIB, TOUCH_UI_FTDI_EVE) |
| 1553 | + #if ANY(HAS_MARLINUI_U8GLIB, TOUCH_UI_FTDI_EVE) |
1554 | 1554 | //#define SHOW_CUSTOM_BOOTSCREEN // Show the bitmap in Marlin/_Bootscreen.h on startup.
|
1555 | 1555 | #endif
|
1556 | 1556 | #endif
|
|
1615 | 1615 | #define SET_REMAINING_TIME // Add 'R' parameter to set remaining time
|
1616 | 1616 | //#define SET_INTERACTION_TIME // Add 'C' parameter to set time until next filament change or other user interaction
|
1617 | 1617 | //#define M73_REPORT // Report M73 values to host
|
1618 |
| - #if BOTH(M73_REPORT, HAS_MEDIA) |
| 1618 | + #if ALL(M73_REPORT, HAS_MEDIA) |
1619 | 1619 | #define M73_REPORT_SD_ONLY // Report only when printing from SD
|
1620 | 1620 | #endif
|
1621 | 1621 | #endif
|
1622 | 1622 |
|
1623 | 1623 | // LCD Print Progress options. Multiple times may be displayed in turn.
|
1624 |
| -#if HAS_DISPLAY && EITHER(HAS_MEDIA, SET_PROGRESS_MANUALLY) |
| 1624 | +#if HAS_DISPLAY && ANY(HAS_MEDIA, SET_PROGRESS_MANUALLY) |
1625 | 1625 | #define SHOW_PROGRESS_PERCENT // Show print progress percentage (doesn't affect progress bar)
|
1626 | 1626 | #define SHOW_ELAPSED_TIME // Display elapsed printing time (prefix 'E')
|
1627 | 1627 | //#define SHOW_REMAINING_TIME // Display estimated time to completion (prefix 'R')
|
|
1630 | 1630 | #endif
|
1631 | 1631 | //#define PRINT_PROGRESS_SHOW_DECIMALS // Show/report progress with decimal digits, not all UIs support this
|
1632 | 1632 |
|
1633 |
| - #if EITHER(HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL) |
| 1633 | + #if ANY(HAS_MARLINUI_HD44780, IS_TFTGLCD_PANEL) |
1634 | 1634 | //#define LCD_PROGRESS_BAR // Show a progress bar on HD44780 LCDs for SD printing
|
1635 | 1635 | #if ENABLED(LCD_PROGRESS_BAR)
|
1636 | 1636 | #define PROGRESS_BAR_BAR_TIME 2000 // (ms) Amount of time to show the bar
|
|
2301 | 2301 | //#define PROBING_MARGIN_BACK PROBING_MARGIN
|
2302 | 2302 | #endif
|
2303 | 2303 |
|
2304 |
| -#if EITHER(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL) |
| 2304 | +#if ANY(MESH_BED_LEVELING, AUTO_BED_LEVELING_UBL) |
2305 | 2305 | // Override the mesh area if the automatic (max) area is too large
|
2306 | 2306 | //#define MESH_MIN_X MESH_INSET
|
2307 | 2307 | //#define MESH_MIN_Y MESH_INSET
|
2308 | 2308 | //#define MESH_MAX_X X_BED_SIZE - (MESH_INSET)
|
2309 | 2309 | //#define MESH_MAX_Y Y_BED_SIZE - (MESH_INSET)
|
2310 | 2310 | #endif
|
2311 | 2311 |
|
2312 |
| -#if BOTH(AUTO_BED_LEVELING_UBL, EEPROM_SETTINGS) |
| 2312 | +#if ALL(AUTO_BED_LEVELING_UBL, EEPROM_SETTINGS) |
2313 | 2313 | //#define OPTIMIZED_MESH_STORAGE // Store mesh with less precision to save EEPROM space
|
2314 | 2314 | #endif
|
2315 | 2315 |
|
|
2379 | 2379 | #endif
|
2380 | 2380 |
|
2381 | 2381 | // G76 options
|
2382 |
| - #if BOTH(PTC_PROBE, PTC_BED) |
| 2382 | + #if ALL(PTC_PROBE, PTC_BED) |
2383 | 2383 | // Park position to wait for probe cooldown
|
2384 | 2384 | #define PTC_PARK_POS { 0, 0, 100 }
|
2385 | 2385 |
|
|
2421 | 2421 | // G5 Bézier Curve Support with XYZE destination and IJPQ offsets
|
2422 | 2422 | //#define BEZIER_CURVE_SUPPORT // Requires ~2666 bytes
|
2423 | 2423 |
|
2424 |
| -#if EITHER(ARC_SUPPORT, BEZIER_CURVE_SUPPORT) |
| 2424 | +#if ANY(ARC_SUPPORT, BEZIER_CURVE_SUPPORT) |
2425 | 2425 | //#define CNC_WORKSPACE_PLANES // Allow G2/G3/G5 to operate in XY, ZX, or YZ planes
|
2426 | 2426 | #endif
|
2427 | 2427 |
|
|
2507 | 2507 |
|
2508 | 2508 | // The number of linear moves that can be in the planner at once.
|
2509 | 2509 | // The value of BLOCK_BUFFER_SIZE must be a power of 2 (e.g., 8, 16, 32)
|
2510 |
| -#if BOTH(HAS_MEDIA, DIRECT_STEPPING) |
2511 |
| - #define BLOCK_BUFFER_SIZE 16 |
| 2510 | +#if ALL(HAS_MEDIA, DIRECT_STEPPING) |
| 2511 | + #define BLOCK_BUFFER_SIZE 8 |
2512 | 2512 | #elif HAS_MEDIA
|
2513 | 2513 | #define BLOCK_BUFFER_SIZE 16
|
2514 | 2514 | #else
|
|
3289 | 3289 | */
|
3290 | 3290 | //#define SENSORLESS_HOMING // StallGuard capable drivers only
|
3291 | 3291 |
|
3292 |
| - #if EITHER(SENSORLESS_HOMING, SENSORLESS_PROBING) |
| 3292 | + #if ANY(SENSORLESS_HOMING, SENSORLESS_PROBING) |
3293 | 3293 | // TMC2209: 0...255. TMC2130: -64...63
|
3294 | 3294 | #define X_STALL_SENSITIVITY 8
|
3295 | 3295 | #define X2_STALL_SENSITIVITY X_STALL_SENSITIVITY
|
|
3452 | 3452 | */
|
3453 | 3453 | //#define SPINDLE_FEATURE
|
3454 | 3454 | //#define LASER_FEATURE
|
3455 |
| -#if EITHER(SPINDLE_FEATURE, LASER_FEATURE) |
| 3455 | +#if ANY(SPINDLE_FEATURE, LASER_FEATURE) |
3456 | 3456 | #define SPINDLE_LASER_ACTIVE_STATE LOW // Set to "HIGH" if SPINDLE_LASER_ENA_PIN is active HIGH
|
3457 | 3457 |
|
3458 | 3458 | #define SPINDLE_LASER_USE_PWM // Enable if your controller supports setting the speed/power
|
|
4204 | 4204 | //#define WIFISUPPORT // Marlin embedded WiFi management
|
4205 | 4205 | //#define ESP3D_WIFISUPPORT // ESP3D Library WiFi management (https://github.com/luc-github/ESP3DLib)
|
4206 | 4206 |
|
4207 |
| -#if EITHER(WIFISUPPORT, ESP3D_WIFISUPPORT) |
| 4207 | +#if ANY(WIFISUPPORT, ESP3D_WIFISUPPORT) |
4208 | 4208 | //#define WEBSUPPORT // Start a webserver (which may include auto-discovery)
|
4209 | 4209 | //#define OTASUPPORT // Support over-the-air firmware updates
|
4210 | 4210 | //#define WIFI_CUSTOM_COMMAND // Accept feature config commands (e.g., WiFi ESP3D) from the host
|
|
0 commit comments