🔧 Update Creality 4.2.2 Driver Warning (#24806)

This commit is contained in:
Keith Bennett 2022-09-28 08:05:06 -07:00 committed by Scott Lahteine
parent 6ae0708840
commit 7b000966f0
2 changed files with 3 additions and 5 deletions

View File

@ -711,8 +711,8 @@
#warning "Don't forget to update your TFT settings in Configuration.h." #warning "Don't forget to update your TFT settings in Configuration.h."
#endif #endif
#if ENABLED(EMIT_CREALITY_422_WARNING) #if ENABLED(EMIT_CREALITY_422_WARNING) && DISABLED(NO_CREALITY_422_DRIVER_WARNING)
#warning "Creality 4.2.2 boards come with a variety of stepper drivers. Check the board label and set the correct *_DRIVER_TYPE! (C=HR4988, E=A4988, A=TMC2208, B=TMC2209, H=TMC2225). (Define EMIT_CREALITY_422_WARNING false to suppress this warning.)" #warning "Creality 4.2.2 boards come with a variety of stepper drivers. Check the board label and set the correct *_DRIVER_TYPE! (C=HR4988, E=A4988, A=TMC2208, B=TMC2209, H=TMC2225). (Define NO_CREALITY_422_DRIVER_WARNING to suppress this warning.)"
#endif #endif
#if PRINTCOUNTER_SYNC #if PRINTCOUNTER_SYNC

View File

@ -28,8 +28,6 @@
#define BOARD_INFO_NAME "Creality v4.2.2" #define BOARD_INFO_NAME "Creality v4.2.2"
#define DEFAULT_MACHINE_NAME "Creality3D" #define DEFAULT_MACHINE_NAME "Creality3D"
#ifndef EMIT_CREALITY_422_WARNING #define EMIT_CREALITY_422_WARNING
#define EMIT_CREALITY_422_WARNING
#endif
#include "pins_CREALITY_V4.h" #include "pins_CREALITY_V4.h"