Skip to content

Commit

Permalink
🎨 Fix/adjust warnings (#24225, #24404)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored and thinkyhead committed Jul 17, 2022
1 parent 2d76190 commit 6a17841
Show file tree
Hide file tree
Showing 98 changed files with 176 additions and 121 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/module/stepper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ void Stepper::set_directions() {
#if DISABLED(LIN_ADVANCE)
#if ENABLED(MIXING_EXTRUDER)
// Because this is valid for the whole block we don't know
// what e-steppers will step. Likely all. Set all.
// what E steppers will step. Likely all. Set all.
if (motor_direction(E_AXIS)) {
MIXER_STEPPER_LOOP(j) REV_E_DIR(j);
count_direction.e = -1;
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/module/stepper.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
// Directions are set up for MIXING_STEPPERS - like before.
// Finding the right stepper may last up to MIXING_STEPPERS loops in get_next_stepper().
// These loops are a bit faster than advancing a bresenham counter.
// Always only one e-stepper is stepped.
// Always only one E stepper is stepped.
#define MIN_ISR_LA_LOOP_CYCLES ((MIXING_STEPPERS) * (ISR_STEPPER_CYCLES))
#else
#define MIN_ISR_LA_LOOP_CYCLES ISR_STEPPER_CYCLES
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/esp32/pins_E4D.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
#include "env_validate.h"

#if EXTRUDERS > 1 || E_STEPPERS > 1
#error "E4d@box only supports one E Stepper. Comment out this line to continue."
#error "E4d@box only supports 1 E stepper."
#elif HAS_MULTI_HOTEND
#error "E4d@box only supports one hotend / E-stepper. Comment out this line to continue."
#error "E4d@box only supports 1 hotend / E stepper."
#endif

#define BOARD_INFO_NAME "E4d@box"
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/esp32/pins_FYSETC_E4.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
#include "env_validate.h"

#if EXTRUDERS > 1 || E_STEPPERS > 1
#error "FYSETC E4 only supports one E Stepper. Comment out this line to continue."
#error "FYSETC E4 only supports 1 E stepper."
#elif HAS_MULTI_HOTEND
#error "FYSETC E4 only supports one hotend / E-stepper. Comment out this line to continue."
#error "FYSETC E4 only supports 1 hotend / E stepper."
#endif

#define BOARD_INFO_NAME "FYSETC_E4"
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/esp32/pins_MKS_TINYBEE.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
#include "env_validate.h"

#if EXTRUDERS > 2 || E_STEPPERS > 2
#error "MKS ESP Nano only supports two E Steppers. Comment out this line to continue."
#error "MKS TinyBee supports up to 2 E steppers."
#elif HOTENDS > 2
#error "MKS ESP Nano only supports two hotend / E-stepper. Comment out this line to continue."
#error "MKS TinyBee supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS TinyBee"
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/esp32/pins_MRR_ESPA.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
#include "env_validate.h"

#if EXTRUDERS > 1 || E_STEPPERS > 1
#error "MRR ESPA only supports one E Stepper. Comment out this line to continue."
#error "MRR ESPA only supports 1 E stepper."
#elif HAS_MULTI_HOTEND
#error "MRR ESPA only supports one hotend / E-stepper. Comment out this line to continue."
#error "MRR ESPA only supports 1 hotend / E stepper."
#endif

#define BOARD_INFO_NAME "MRR ESPA"
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/pins/esp32/pins_MRR_ESPE.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
#include "env_validate.h"

#if EXTRUDERS > 2 || E_STEPPERS > 2
#error "MRR ESPE only supports two E Steppers. Comment out this line to continue."
#error "MRR ESPE supports up to 2 E steppers."
#elif HAS_MULTI_HOTEND
#error "MRR ESPE only supports one hotend / E-stepper. Comment out this line to continue."
#error "MRR ESPE only supports 1 hotend / E stepper."
#endif

#define BOARD_INFO_NAME "MRR ESPE"
Expand Down
8 changes: 6 additions & 2 deletions Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@

#elif ENABLED(ANET_FULL_GRAPHICS_LCD)

#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

/**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
Expand Down Expand Up @@ -257,7 +259,9 @@

#elif ENABLED(WYH_L12864)

#error "CAUTION! WYH_L12864 requires wiring modifications. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! WYH_L12864 requires wiring modifications. See 'pins_BTT_SKR_V1_3.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

/**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
Expand Down
8 changes: 6 additions & 2 deletions Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,9 @@
#elif HAS_WIRED_LCD

#if ENABLED(ANET_FULL_GRAPHICS_LCD_ALT_WIRING)
#error "CAUTION! ANET_FULL_GRAPHICS_LCD_ALT_WIRING requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! ANET_FULL_GRAPHICS_LCD_ALT_WIRING requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

/**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
Expand Down Expand Up @@ -318,7 +320,9 @@
#define BEEPER_PIN EXP1_03_PIN

#elif ENABLED(ANET_FULL_GRAPHICS_LCD)
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! ANET_FULL_GRAPHICS_LCD requires wiring modifications. See 'pins_BTT_SKR_V1_4.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

/**
* 1. Cut the tab off the LCD connector so it can be plugged into the "EXP1" connector the other way.
Expand Down
4 changes: 3 additions & 1 deletion Marlin/src/pins/lpc1768/pins_RAMPS_RE_ARM.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,9 @@

#elif ENABLED(ZONESTAR_LCD)

#error "CAUTION! ZONESTAR_LCD on REARM requires wiring modifications. NB. ADCs are not 5V tolerant. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! ZONESTAR_LCD on REARM requires wiring modifications. NB. ADCs are not 5V tolerant. See 'pins_RAMPS_RE_ARM.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

#elif IS_TFTGLCD_PANEL

Expand Down
8 changes: 6 additions & 2 deletions Marlin/src/pins/lpc1769/pins_BTT_SKR_E3_TURBO.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@
#define EXP1_10_PIN P2_08

#if HAS_DWIN_E3V2 || IS_DWIN_MARLINUI
#error "Ender-3 V2 display requires a custom cable with TX = P0_15, RX = P0_16. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! Ender-3 V2 display requires a custom cable with TX = P0_15, RX = P0_16. See 'pins_BTT_SKR_E3_TURBO.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

/**
* Ender 3 V2 display SKR E3 Turbo (EXP1) Ender 3 V2 display --> SKR E3 Turbo
Expand Down Expand Up @@ -238,7 +240,9 @@

#elif ENABLED(ZONESTAR_LCD) // ANET A8 LCD Controller - Must convert to 3.3V - CONNECTING TO 5V WILL DAMAGE THE BOARD!

#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_E3_TURBO.h' for details. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! ZONESTAR_LCD requires wiring modifications. See 'pins_BTT_SKR_E3_TURBO.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

#define LCD_PINS_RS EXP1_05_PIN
#define LCD_PINS_ENABLE EXP1_09_PIN
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MEGACONTROLLER.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Mega Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Mega Controller supports up to 2 hotends / E steppers."
#endif

#include "env_validate.h"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_MINITRONICS.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#if NOT_TARGET(__AVR_ATmega1281__)
#error "Oops! Select 'Minitronics' in 'Tools > Board.'"
#elif HOTENDS > 2 || E_STEPPERS > 2
#error "Minitronics supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Minitronics supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Minitronics v1.0/1.1"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/mega/pins_OVERLORD.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Overlord Controller supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Overlord supports up to 2 hotends / E steppers."
#endif

#include "env_validate.h"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_AZTEEG_X3.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "env_validate.h"

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Azteeg X3 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Azteeg X3 supports up to 2 hotends / E steppers."
#endif

#if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT)
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_AZTEEG_X3_PRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "env_validate.h"

#if HOTENDS > 5 || E_STEPPERS > 5
#error "Azteeg X3 Pro supports up to 5 hotends / E-steppers. Comment out this line to continue."
#error "Azteeg X3 Pro supports up to 5 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Azteeg X3 Pro"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_BAM_DICE_DUE.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "2PrintBeta Due supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "2PrintBeta Due supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "2PrintBeta Due"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_BIQU_KFB_2.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "KFB 2.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "KFB 2.0 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "KFB 2.0"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_DAGOMA_F5.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#pragma once

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Dagoma3D F5 supports only 2 hotends / E-steppers. Comment out this line to continue."
#error "Dagoma3D F5 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Dagoma3D F5"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_FELIX2.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Felix 2.0+ supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Felix 2.0+ supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Felix 2.0+"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_FORMBOT_RAPTOR.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "env_validate.h"

#if HOTENDS > 3 || E_STEPPERS > 3
#error "Formbot supports up to 3 hotends / E-steppers. Comment out this line to continue."
#error "Formbot supports up to 3 hotends / E steppers."
#endif

#ifndef BOARD_INFO_NAME
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_FORMBOT_TREX2PLUS.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "env_validate.h"

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Formbot supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Formbot"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_FORMBOT_TREX3.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "env_validate.h"

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Formbot supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "Formbot supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Formbot"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_K8600.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HAS_MULTI_HOTEND
#error "Only 1 hotend is supported for Vertex Nano."
#error "K8600 only supports 1 hotend / E stepper."
#endif

#define BOARD_INFO_NAME "K8600"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_LONGER3D_LKx_PRO.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "env_validate.h"

#if HAS_MULTI_HOTEND || E_STEPPERS > 1
#error "Longer3D LGT KIT V1.0 board only supports one hotend / E-stepper. Comment out this line to continue."
#error "Longer3D LGT KIT V1.0 only supports 1 hotend / E stepper."
#endif

#if SERIAL_PORT == 1 || SERIAL_PORT_2 == 1 || SERIAL_PORT_3 == 1
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_BASE_10.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS BASE 1.0 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS BASE 1.0 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS BASE 1.0"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_BASE_14.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS BASE 1.4 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS BASE 1.4 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS BASE 1.4"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_BASE_15.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS BASE 1.5 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS BASE 1.5 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS BASE 1.5"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_BASE_16.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS BASE 1.6 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS BASE 1.6 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS BASE 1.6"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_GEN_13.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS GEN 1.3/1.4 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS GEN 1.3/1.4 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS GEN >= v1.3"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_GEN_L.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS GEN L supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS GEN L supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS GEN L"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_GEN_L_V2.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS GEN L V2 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS GEN L V2 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS GEN L V2"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_MKS_GEN_L_V21.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/

#if HOTENDS > 2 || E_STEPPERS > 2
#error "MKS GEN L V2.1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
#error "MKS GEN L V2.1 supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "MKS GEN L V2.1"
Expand Down
9 changes: 7 additions & 2 deletions Marlin/src/pins/ramps/pins_RAMPS.h
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,10 @@

#elif ENABLED(ZONESTAR_LCD)

#error "CAUTION! ZONESTAR_LCD on RAMPS requires wiring modifications. It plugs into AUX2 but GND and 5V need to be swapped. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! ZONESTAR_LCD on RAMPS requires wiring modifications. It plugs into AUX2 but GND and 5V need to be swapped. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

#define LCD_PINS_RS AUX2_05_PIN
#define LCD_PINS_ENABLE AUX2_07_PIN
#define LCD_PINS_D4 AUX2_04_PIN
Expand Down Expand Up @@ -859,7 +862,9 @@

#if BOTH(TOUCH_UI_FTDI_EVE, LCD_FYSETC_TFT81050)

#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. Comment out this line to continue."
#ifndef NO_CONTROLLER_CUSTOM_WIRING_WARNING
#error "CAUTION! LCD_FYSETC_TFT81050 requires wiring modifications. See 'pins_RAMPS.h' for details. (Define NO_CONTROLLER_CUSTOM_WIRING_WARNING to suppress this warning.)"
#endif

/**
* FYSETC TFT-81050 display pinout
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_RAMPS_CREALITY.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#pragma once

#if HOTENDS > 2 || E_STEPPERS > 2
#error "Creality3D RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
#error "Creality RAMPS supports up to 2 hotends / E steppers."
#endif

#define BOARD_INFO_NAME "Creality3D RAMPS"
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/pins/ramps/pins_RAMPS_ENDER_4.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#pragma once

#if HAS_MULTI_HOTEND || E_STEPPERS > 1
#error "Ender-4 only supports one hotend / E-stepper. Comment out this line to continue."
#error "Ender-4 only supports 1 hotend / E stepper."
#endif

#define BOARD_INFO_NAME "Ender-4"
Expand Down
Loading

0 comments on commit 6a17841

Please sign in to comment.