Skip to content

Commit

Permalink
Merge pull request #9 from Anonoei/7-error-on-startup-unknown-config-…
Browse files Browse the repository at this point in the history
…object-gcode_move

Fix gcove_move error - thanks @Spice_King!
  • Loading branch information
Anonoei authored Oct 26, 2023
2 parents d0c7d8c + 020218e commit d900c48
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ To install this module, you need to clone the repository and run the `install.sh
cd ~
git clone https://github.com/Anonoei/klipper_auto_tap.git
cd klipper_auto_tap
chmod +x install.sh
./install.sh
```
#### Manual installation
Expand Down
4 changes: 2 additions & 2 deletions auto_tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def __init__(self, config):

self.offset = None

self.gcode_move = self.printer.lookup_object('gcode_move')
self.gcode_move = self.printer.load_object(config, 'gcode_move')
self.printer.register_event_handler("klippy:connect", self.handle_connect)
self.printer.register_event_handler("homing:home_rails_end", self.handle_home_rails_end)

Expand Down Expand Up @@ -334,4 +334,4 @@ def __init__(self, config, endstop):
self.query_endstop = self.mcu_endstop.query_endstop

def load_config(config):
return AutoTAP(config)
return AutoTAP(config)
Empty file modified install.sh
100644 → 100755
Empty file.

0 comments on commit d900c48

Please sign in to comment.