So I'm using TH3D firmware on my CoreXY printer and when I move it from the LCD it moves correctly, but when I try to home X or Y it goes in the wrong direction. It's set to home to min in firmware. When I set the endstop logic so its always triggered, it homes in the right direction.
Here are my motion settings:
#define MKS_PRINTER
// Build Area Size Settings
#define MKS_X_SIZE 300
#define MKS_Y_SIZE 300
#define MKS_Z_SIZE 300
// Endstop Logic Settings
#define MKS_X_ENDSTOP 0
#define MKS_Y_ENDSTOP 0
#define MKS_Z_ENDSTOP 0
// Homing Settings
#define X_HOME_LOCATION 0
#define Y_HOME_LOCATION 0
// Steps per MM Settings
#define MKS_X_STEPS 80
#define MKS_Y_STEPS 80
#define MKS_Z_STEPS 400
#define MKS_E0_STEPS 95
#define MKS_E1_STEPS 95
// Motor Direction Settings
#define MKS_X_DIRECTION 1
#define MKS_Y_DIRECTION 0
#define MKS_Z_DIRECTION 0
#define MKS_E0_DIRECTION 0
#define MKS_E1_DIRECTION 0
// Stepper Driver Settings
#define MKS_X_DRIVER A4988
#define MKS_Y_DRIVER A4988
#define MKS_Z_DRIVER A4988
#define MKS_E0_DRIVER A4988
#define MKS_E1_DRIVER A4988
```