I have this line commented out.
#define Z_MIN_PROBE_ENDSTOP
Since this line already defines the pin it uses:
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
#define Z_MIN_PROBE_ENDSTOP
Since this line already defines the pin it uses:
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN