synthetos / g2

g2core - The Next Generation
Other
622 stars 296 forks source link

Allow homing on B or C as the 4th axis #438

Closed justinclift closed 4 years ago

justinclift commented 4 years ago

At present, our homing code wrongly assumes a 4th axis must be A.

This PR allows for homing with a B or C as the fourth axis.

justinclift commented 4 years ago

Note that so far I've only really tested this with homing. No idea yet if other parts of our code will have issues with B or C as the fourth axis.

justinclift commented 4 years ago

Just noticed a cut-n-paste error, duplicating the AXIS_A code in the last clause changed.

Just pushed a follow up commit directly to edge, removing that duplicated code.