X and Y motor axis confused even after swapping wires on mainboard

Whenever I home the printer the x-axis homes correctly and when the y gantry hits the switch the led turns green but the gantry mashes itself into the switch.
Was this page helpful?