Updated logic now simply uses a homed flag and the existing stepper.run() in the main loop() to keep rotating until such time as the home sensor has triggered.
This now also allows the SERVO command to successfully trigger a homing activity by sending the profile value 2.
Both homing bugs are resolved by this:
https://github.com/DCC-EX/Turntable-EX/issues/3
https://github.com/DCC-EX/Turntable-EX/issues/4
Updated logic now simply uses a homed flag and the existing stepper.run() in the main loop() to keep rotating until such time as the home sensor has triggered.
This now also allows the SERVO command to successfully trigger a homing activity by sending the profile value 2.