Skip to content

Commit

Permalink
rmmu extension
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeKeck committed Mar 31, 2024
1 parent 8842690 commit 141e282
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/ratos-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ register_z_offset_probe()
_register_klippy_extension $EXT_NAME "$EXT_PATH" $EXT_FILE "false"
}

register_rmmu()
{
EXT_NAME="rmmu_extension"
EXT_PATH=$(realpath "$SCRIPT_DIR"/../klippy)
EXT_FILE="rmmu.py"
# Don't error if extension is already registered
_register_klippy_extension $EXT_NAME "$EXT_PATH" $EXT_FILE "false"
}

install_hooks()
{
report_status "Installing git hooks"
Expand Down
1 change: 1 addition & 0 deletions scripts/ratos-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ ensure_sudo_command_whitelisting sudo
register_gcode_shell_command
register_ratos_homing
register_z_offset_probe
register_rmmu
register_resonance_generator
1 change: 1 addition & 0 deletions scripts/ratos-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ install_beacon
install_hooks
ensure_node_18
register_z_offset_probe
register_rmmu
register_resonance_generator
symlink_extensions
restart_configurator

0 comments on commit 141e282

Please sign in to comment.