Can someone help me on solving this error
Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1851:6: error: #error "You must set Y2_USE_ENDSTOP with Y_DUAL_ENDSTOPS."
My configs
-Pins
"#define Y_MIN_PIN PF4
#define Y2_MIN_PIN PI7"
- Config_adv
#define Y_DUAL_ENDSTOPS
#if ENABLED(Y_DUAL_ENDSTOPS)
#define Y2_USE_ENDSTOP Y2_MIN
#define Y2_ENDSTOP_ADJUSTMENT 0
#endif"
- Config
#define USE_Y2_MIN_PLUG
Marlin\src\HAL\STM32\../../inc/SanityCheck.h:1851:6: error: #error "You must set Y2_USE_ENDSTOP with Y_DUAL_ENDSTOPS."
My configs
-Pins
"#define Y_MIN_PIN PF4
#define Y2_MIN_PIN PI7"
- Config_adv
#define Y_DUAL_ENDSTOPS
#if ENABLED(Y_DUAL_ENDSTOPS)
#define Y2_USE_ENDSTOP Y2_MIN
#define Y2_ENDSTOP_ADJUSTMENT 0
#endif"
- Config
#define USE_Y2_MIN_PLUG