Merge pull request #9930 from teemuatlut/bf1_fix_M915
This commit is contained in:
commit
e98288ecab
13
.travis.yml
13
.travis.yml
@ -353,19 +353,12 @@ script:
|
|||||||
#- use_example_configs makibox
|
#- use_example_configs makibox
|
||||||
#- build_marlin
|
#- build_marlin
|
||||||
#
|
#
|
||||||
# SCARA with TMC2130
|
# SCARA with TMC2130 and TMC2208
|
||||||
#
|
#
|
||||||
- use_example_configs SCARA
|
- use_example_configs SCARA
|
||||||
- opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
|
- opt_enable AUTO_BED_LEVELING_BILINEAR FIX_MOUNTED_PROBE USE_ZMIN_PLUG EEPROM_SETTINGS EEPROM_CHITCHAT ULTIMAKERCONTROLLER
|
||||||
- opt_enable_adv HAVE_TMC2130 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2130
|
- opt_enable_adv HAVE_TMC2130 HAVE_TMC2208 X_IS_TMC2130 Y_IS_TMC2130 Z_IS_TMC2208 E0_IS_TMC2208
|
||||||
- opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG SENSORLESS_HOMING
|
- opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG SENSORLESS_HOMING TMC_Z_CALIBRATION
|
||||||
- build_marlin
|
|
||||||
#
|
|
||||||
# TMC2208 Config
|
|
||||||
#
|
|
||||||
- restore_configs
|
|
||||||
- opt_enable_adv HAVE_TMC2208 X_IS_TMC2208 Y_IS_TMC2208 Z_IS_TMC2208
|
|
||||||
- opt_enable_adv MONITOR_DRIVER_STATUS STEALTHCHOP HYBRID_THRESHOLD TMC_DEBUG
|
|
||||||
- build_marlin
|
- build_marlin
|
||||||
#
|
#
|
||||||
# tvrrug Config need to check board type for sanguino atmega644p
|
# tvrrug Config need to check board type for sanguino atmega644p
|
||||||
|
@ -2889,6 +2889,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
|||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -10684,11 +10685,11 @@ inline void gcode_M502() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if Z_IS_TRINAMIC
|
#if Z_IS_TRINAMIC
|
||||||
uint16_t Z_current_1 = stepperZ.getCurrent(),
|
uint16_t Z_current_1 = stepperZ.getCurrent();
|
||||||
stepperZ.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
stepperZ.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
||||||
#endif
|
#endif
|
||||||
#if Z2_IS_TRINAMIC
|
#if Z2_IS_TRINAMIC
|
||||||
uint16_t Z2_current_1 = stepperZ.getCurrent();
|
uint16_t Z2_current_1 = stepperZ2.getCurrent();
|
||||||
stepperZ2.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
stepperZ2.setCurrent(_rms, R_SENSE, HOLD_MULTIPLIER);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user