|
|
@ -877,6 +877,7 @@ void MarlinSettings::postprocess() { |
|
|
|
//
|
|
|
|
// Linear Advance
|
|
|
|
//
|
|
|
|
|
|
|
|
_FIELD_TEST(planner_extruder_advance_K); |
|
|
|
|
|
|
|
#if ENABLED(LIN_ADVANCE) |
|
|
@ -888,6 +889,10 @@ void MarlinSettings::postprocess() { |
|
|
|
|
|
|
|
_FIELD_TEST(motor_current_setting); |
|
|
|
|
|
|
|
//
|
|
|
|
// Motor Current PWM
|
|
|
|
//
|
|
|
|
|
|
|
|
#if HAS_MOTOR_CURRENT_PWM |
|
|
|
for (uint8_t q = XYZ; q--;) EEPROM_WRITE(stepper.motor_current_setting[q]); |
|
|
|
#else |
|
|
@ -1408,6 +1413,8 @@ void MarlinSettings::postprocess() { |
|
|
|
for (uint8_t q=TMC_AXES; q--;) EEPROM_READ(val); |
|
|
|
#endif |
|
|
|
|
|
|
|
_FIELD_TEST(tmc_hybrid_threshold); |
|
|
|
|
|
|
|
#if ENABLED(HYBRID_THRESHOLD) |
|
|
|
#define TMC_SET_PWMTHRS(A,Q) tmc_set_pwmthrs(stepper##Q, tmc_hybrid_threshold.Q, planner.axis_steps_per_mm[_AXIS(A)]) |
|
|
|
tmc_hybrid_threshold_t tmc_hybrid_threshold; |
|
|
@ -1458,12 +1465,15 @@ void MarlinSettings::postprocess() { |
|
|
|
for (uint8_t q=TMC_AXES; q--;) EEPROM_READ(thrs_val); |
|
|
|
#endif |
|
|
|
|
|
|
|
/*
|
|
|
|
/**
|
|
|
|
* TMC StallGuard threshold. |
|
|
|
* X and X2 use the same value |
|
|
|
* Y and Y2 use the same value |
|
|
|
* Z, Z2 and Z3 use the same value |
|
|
|
*/ |
|
|
|
|
|
|
|
_FIELD_TEST(tmc_sgt); |
|
|
|
|
|
|
|
tmc_sgt_t tmc_sgt; |
|
|
|
EEPROM_READ(tmc_sgt); |
|
|
|
#if USE_SENSORLESS |
|
|
|