Don't always pull up the endstop pins. Let the user configure it with the Pin configuration (e.g. pull down instead of pull up).