Add extruder linearity correction to settings menu.
This commit is contained in:
parent
678cd17e7b
commit
40a064ffbc
8 changed files with 53 additions and 19 deletions
Firmware
|
@ -1035,9 +1035,11 @@ void setup()
|
|||
}
|
||||
|
||||
#ifdef TMC2130_LINEARITY_CORRECTION
|
||||
#ifdef EXPERIMENTAL_FEATURES
|
||||
tmc2130_wave_fac[X_AXIS] = eeprom_read_word((uint16_t*)EEPROM_TMC2130_WAVE_X_FAC);
|
||||
tmc2130_wave_fac[Y_AXIS] = eeprom_read_word((uint16_t*)EEPROM_TMC2130_WAVE_Y_FAC);
|
||||
tmc2130_wave_fac[Z_AXIS] = eeprom_read_word((uint16_t*)EEPROM_TMC2130_WAVE_Z_FAC);
|
||||
#endif //EXPERIMENTAL_FEATURES
|
||||
tmc2130_wave_fac[E_AXIS] = eeprom_read_word((uint16_t*)EEPROM_TMC2130_WAVE_E_FAC);
|
||||
if (tmc2130_wave_fac[X_AXIS] == 0xffff) tmc2130_wave_fac[X_AXIS] = 0;
|
||||
if (tmc2130_wave_fac[Y_AXIS] == 0xffff) tmc2130_wave_fac[Y_AXIS] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue