Skip to content

Instantly share code, notes, and snippets.

@rootiest
Created September 27, 2022 18:09
Show Gist options
  • Save rootiest/51f2d743bc28728cb5b44f7329ba55b2 to your computer and use it in GitHub Desktop.
Save rootiest/51f2d743bc28728cb5b44f7329ba55b2 to your computer and use it in GitHub Desktop.
[gcode_macro WAKE_EXTRUDER]
gcode:
{% set driver_config = printer.configfile.settings['tmc2209 extruder'] %}
{% set RUN_CUR = driver_config.run_current %}
SET_TMC_CURRENT STEPPER=extruder CURRENT={RUN_CUR}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment