Browse Source

make data declarations consistent

Roxy-3D 7 years ago
parent
commit
1628a9e864
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/module/configuration_store.cpp

+ 2
- 2
Marlin/src/module/configuration_store.cpp View File

37
  */
37
  */
38
 
38
 
39
 // Change EEPROM version if the structure changes
39
 // Change EEPROM version if the structure changes
40
-#define EEPROM_VERSION "V53"
40
+#define EEPROM_VERSION "V54"
41
 #define EEPROM_OFFSET 100
41
 #define EEPROM_OFFSET 100
42
 
42
 
43
 // Check the integrity of data offsets.
43
 // Check the integrity of data offsets.
1327
 
1327
 
1328
       #if HAS_TRINAMIC
1328
       #if HAS_TRINAMIC
1329
         #define TMC_SET_PWMTHRS(P,Q) tmc_set_pwmthrs(stepper##Q, TMC_##Q, tmc_hybrid_threshold[TMC_##Q], planner.axis_steps_per_mm[P##_AXIS])
1329
         #define TMC_SET_PWMTHRS(P,Q) tmc_set_pwmthrs(stepper##Q, TMC_##Q, tmc_hybrid_threshold[TMC_##Q], planner.axis_steps_per_mm[P##_AXIS])
1330
-        uint16_t tmc_hybrid_threshold[TMC_AXES];
1330
+        uint32_t tmc_hybrid_threshold[TMC_AXES];
1331
         EEPROM_READ(tmc_hybrid_threshold);
1331
         EEPROM_READ(tmc_hybrid_threshold);
1332
         if (!validating) {
1332
         if (!validating) {
1333
           #if X_IS_TRINAMIC
1333
           #if X_IS_TRINAMIC

Loading…
Cancel
Save