mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-12-01 07:42:37 +00:00
🔨 Suppressible Creality 4.2.2 warning (#24683)
This commit is contained in:
parent
f4a5db52e8
commit
2a2c161d87
@ -707,9 +707,8 @@
|
||||
#warning "Don't forget to update your TFT settings in Configuration.h."
|
||||
#endif
|
||||
|
||||
// Ender 3 Pro (but, apparently all Creality 4.2.2 boards)
|
||||
#if ENABLED(EMIT_CREALITY_422_WARNING) || MB(CREALITY_V4)
|
||||
#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)."
|
||||
#if ENABLED(EMIT_CREALITY_422_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.)"
|
||||
#endif
|
||||
|
||||
#if PRINTCOUNTER_SYNC
|
||||
|
@ -28,4 +28,8 @@
|
||||
#define BOARD_INFO_NAME "Creality v4.2.2"
|
||||
#define DEFAULT_MACHINE_NAME "Creality3D"
|
||||
|
||||
#ifndef EMIT_CREALITY_422_WARNING
|
||||
#define EMIT_CREALITY_422_WARNING
|
||||
#endif
|
||||
|
||||
#include "pins_CREALITY_V4.h"
|
||||
|
Loading…
Reference in New Issue
Block a user