File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3712,18 +3712,16 @@ void MarlinSettings::reset() {
3712
3712
#if HAS_MOTOR_CURRENT_PWM
3713
3713
constexpr uint32_t tmp_motor_current_setting[MOTOR_CURRENT_COUNT] = PWM_MOTOR_CURRENT;
3714
3714
for (uint8_t q = 0 ; q < MOTOR_CURRENT_COUNT; ++q)
3715
- stepper.set_digipot_current (q, (stepper. motor_current_setting [q] = tmp_motor_current_setting[q]) );
3715
+ stepper.set_digipot_current (q, tmp_motor_current_setting[q]);
3716
3716
#endif
3717
3717
3718
3718
//
3719
3719
// DIGIPOTS
3720
3720
//
3721
3721
#if HAS_MOTOR_CURRENT_SPI
3722
3722
static constexpr uint32_t tmp_motor_current_setting[] = DIGIPOT_MOTOR_CURRENT;
3723
- DEBUG_ECHOLNPGM (" Writing Digipot" );
3724
3723
for (uint8_t q = 0 ; q < COUNT (tmp_motor_current_setting); ++q)
3725
3724
stepper.set_digipot_current (q, tmp_motor_current_setting[q]);
3726
- DEBUG_ECHOLNPGM (" Digipot Written" );
3727
3725
#endif
3728
3726
3729
3727
//
You can’t perform that action at this time.
0 commit comments