synthetos / g2

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

Wrong enum used for axis configuration #486

Open benlaurie opened 3 years ago

benlaurie commented 3 years ago

Many headers use, for example:

define M2_MOTOR_MAP AXIS_Y

This works, but is wrong - it should be AXIS_Y_EXTERNAL.

It matters once you get to A, B, C axes - AXIS_A is 6 (which is wrong), whereas AXIS_A_EXTERNAL is 3 (which is right).

ril3y commented 1 year ago

Thanks I will take a look at this. @benlaurie what are you working on these days?