|
@@ -37,7 +37,7 @@
|
37
|
37
|
*/
|
38
|
38
|
|
39
|
39
|
// Change EEPROM version if the structure changes
|
40
|
|
-#define EEPROM_VERSION "V76"
|
|
40
|
+#define EEPROM_VERSION "V77"
|
41
|
41
|
#define EEPROM_OFFSET 100
|
42
|
42
|
|
43
|
43
|
// Check the integrity of data offsets.
|
|
@@ -134,10 +134,10 @@
|
134
|
134
|
|
135
|
135
|
#pragma pack(push, 1) // No padding between variables
|
136
|
136
|
|
137
|
|
-typedef struct { uint16_t X, Y, Z, X2, Y2, Z2, Z3, Z4, E0, E1, E2, E3, E4, E5; } tmc_stepper_current_t;
|
138
|
|
-typedef struct { uint32_t X, Y, Z, X2, Y2, Z2, Z3, Z4, E0, E1, E2, E3, E4, E5; } tmc_hybrid_threshold_t;
|
139
|
|
-typedef struct { int16_t X, Y, Z, X2; } tmc_sgt_t;
|
140
|
|
-typedef struct { bool X, Y, Z, X2, Y2, Z2, Z3, Z4, E0, E1, E2, E3, E4, E5; } tmc_stealth_enabled_t;
|
|
137
|
+typedef struct { uint16_t X, Y, Z, X2, Y2, Z2, Z3, Z4, E0, E1, E2, E3, E4, E5, E6, E7; } tmc_stepper_current_t;
|
|
138
|
+typedef struct { uint32_t X, Y, Z, X2, Y2, Z2, Z3, Z4, E0, E1, E2, E3, E4, E5, E6, E7; } tmc_hybrid_threshold_t;
|
|
139
|
+typedef struct { int16_t X, Y, Z, X2; } tmc_sgt_t;
|
|
140
|
+typedef struct { bool X, Y, Z, X2, Y2, Z2, Z3, Z4, E0, E1, E2, E3, E4, E5, E6, E7; } tmc_stealth_enabled_t;
|
141
|
141
|
|
142
|
142
|
// Limit an index to an array size
|
143
|
143
|
#define ALIM(I,ARR) _MIN(I, COUNT(ARR) - 1)
|