diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-07-16 13:04:26 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-07-16 13:04:26 +0300 |
commit | 2c27428d84ae43e3b7a0bc97ed7715c3593b221b (patch) | |
tree | 9bc405dc76ce095291f55856daef3839c4a41399 /src/Pccb | |
parent | 0bb8bc15f1e9bca6346c5774348568964e86fb8f (diff) |
Fixed problem with axes ABC on Duet 3
Fixed a bug which prevented more than 6 axes being used on Duet 3. The maximum number of axes+extruders is now defined separately from the total number of drivers supported. Independent leadscrew moves need to be sorted out.
Diffstat (limited to 'src/Pccb')
-rw-r--r-- | src/Pccb/Pins_Pccb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Pccb/Pins_Pccb.h b/src/Pccb/Pins_Pccb.h index 07275a26..e89bdbff 100644 --- a/src/Pccb/Pins_Pccb.h +++ b/src/Pccb/Pins_Pccb.h @@ -89,7 +89,8 @@ constexpr size_t MaxGpioPorts = 5; constexpr size_t MinAxes = 3; // The minimum and default number of axes constexpr size_t MaxAxes = 6; // The maximum number of movement axes in the machine, <= DRIVES -constexpr size_t MaxExtruders = NumDirectDrivers - MinAxes; // The maximum number of extruders +constexpr size_t MaxAxesPlusExtruders = NumDirectDrivers; // The maximum number of axes+extruders +constexpr size_t MaxExtruders = MaxAxesPlusExtruders - MinAxes; // The maximum number of extruders constexpr size_t NumDefaultExtruders = 0; // The number of drivers that we configure as extruders by default constexpr size_t MaxDriversPerAxis = 4; // The maximum number of stepper drivers assigned to one axis |