@dc42
I cant see any conflicts. one thing I did notice was if I changed the speed in the first X move in homex.g to 180 from 1800 mm/m to give me time to press the switch by hand while the axes was moving towards home the motor sped up after pressing it so its seeing the switch
I was able to determine that the speed at which the motor sped up to is the programmed speed in the next G1, X move which is "; go back a few mm"
next I copied and pasted the homex example from dozuki doc. "Configuring RepRapFirmware for a Cartesian printer" and it slowed down after hitting the switch manually on its way to home which is how it is written.
G91 ; relative mode
G1 Z4 S2 F200 ; raise head to avoid dragging nozzle over the bed
G1 X-240 F3000 S1 ; move up to 240mm in the -X direction, stopping if the homing switch is triggered
G1 X4 F600 ; move slowly 4mm in the +X direction
G1 X-10 S1 ; move slowly 10mm in the -X direction, stopping at the homing switch
G1 Z-4 S2 F200 ; lower the head again
G90 ; back to absolute mode
seems the S1 is not producing the desired effect. Before this test with homex.g I have not changed any other FW files except for config.g. Sorry to be a PITA