🎨 Fix/adjust warnings (#24225)
This commit is contained in:
committed by
Scott Lahteine
parent
3c482a9ba1
commit
8465818754
@ -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)
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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+"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -30,9 +30,9 @@
|
||||
#define DEFAULT_MACHINE_NAME "Rapide Lite 200"
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "RL200v1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#error "RL200v1 supports up to 2 hotends / E steppers."
|
||||
#elif NUM_Z_STEPPERS != 2
|
||||
#error "RL200 uses dual Z stepper motors. Set NUM_Z_STEPPERS to 2 or comment out this line to continue."
|
||||
#error "RL200 uses dual Z stepper motors. Z_DRIVER_TYPE and Z2_DRIVER_TYPE must be defined."
|
||||
#elif !(AXIS_DRIVER_TYPE_X(DRV8825) && AXIS_DRIVER_TYPE_Y(DRV8825) && AXIS_DRIVER_TYPE_Z(DRV8825) && AXIS_DRIVER_TYPE_Z2(DRV8825) && AXIS_DRIVER_TYPE_E0(DRV8825))
|
||||
#error "You must set ([XYZ]|Z2|E0)_DRIVER_TYPE to DRV8825 in Configuration.h for RL200."
|
||||
#endif
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#if HOTENDS > 3 || E_STEPPERS > 3
|
||||
#error "RUMBA supports up to 3 hotends / E-steppers. Comment out this line to continue."
|
||||
#error "RUMBA supports up to 3 hotends / E steppers."
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_INFO_NAME
|
||||
|
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Sainsmart 2-in-1 supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#error "Sainsmart 2-in-1 supports up to 2 hotends / E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Sainsmart"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "Tenlog supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#error "Tenlog supports up to 2 hotends / E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Tenlog D3 Hero"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "TRONXY-V3-1.0 supports only 2 hotends/E-steppers. Comment out this line to continue."
|
||||
#error "TRONXY-V3-1.0 supports up to 2 hotends/E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "TRONXY-V3-1.0"
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#if HOTENDS > 5 || E_STEPPERS > 5
|
||||
#error "TTOSCAR supports up to 5 hotends / E-steppers. Comment out this line to continue."
|
||||
#error "TTOSCAR supports up to 5 hotends / E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "TT OSCAR"
|
||||
|
@ -26,7 +26,7 @@
|
||||
*/
|
||||
|
||||
#if HOTENDS > 2 || E_STEPPERS > 2
|
||||
#error "ZRIB V5.2 only supports up to 2 hotends / E-steppers. Comment out this line to continue."
|
||||
#error "ZRIB V5.2 supports up to 2 hotends / E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "ZRIB V5.2"
|
||||
|
@ -28,9 +28,9 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#if HOTENDS > 2
|
||||
#error "ZRIB V5.3 only supports up to 2 hotends. Comment out this line to continue."
|
||||
#error "ZRIB V5.3 supports up to 2 hotends."
|
||||
#elif E_STEPPERS > 3
|
||||
#error "ZRIB V5.3 only supports up to 3 E-steppers. Comment out this line to continue."
|
||||
#error "ZRIB V5.3 supports up to 3 E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "ZRIB V5.3"
|
||||
|
@ -29,7 +29,7 @@
|
||||
#include "env_validate.h"
|
||||
|
||||
#if HOTENDS > 4 || E_STEPPERS > 4
|
||||
#error "Z-Bolt X Series board supports up to 4 hotends / E-steppers."
|
||||
#error "Z-Bolt X Series supports up to 4 hotends / E steppers."
|
||||
#endif
|
||||
|
||||
#define BOARD_INFO_NAME "Z-Bolt X Series"
|
||||
|
Reference in New Issue
Block a user