So I reversed the wires on the endstop and still getting a x triggered in pronterface.