diff options
author | Petri Honkala <cruwaller@gmail.com> | 2018-12-27 09:38:09 +0200 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2018-12-27 11:44:41 -0500 |
commit | f99002df4fc86e7f0176628b49a99171f60b6eff (patch) | |
tree | fe57dd46847b9094cc629f51ee4938570b0cbbe0 | |
parent | 62fc5dc2884c41eb45880b0e9c988cabb025d1c1 (diff) | |
download | kutter-f99002df4fc86e7f0176628b49a99171f60b6eff.tar.gz kutter-f99002df4fc86e7f0176628b49a99171f60b6eff.tar.xz kutter-f99002df4fc86e7f0176628b49a99171f60b6eff.zip |
tmc2208: error raise fixed for rx/tx mcu check
Signed-off-by: Petri Honkala <cruwaller@gmail.com>
-rw-r--r-- | klippy/extras/tmc2208.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/tmc2208.py b/klippy/extras/tmc2208.py index 6faad85c..a86a86d8 100644 --- a/klippy/extras/tmc2208.py +++ b/klippy/extras/tmc2208.py @@ -105,7 +105,7 @@ class TMC2208: else: tx_pin_params = ppins.lookup_pin(tx_pin_desc) if rx_pin_params['chip'] is not tx_pin_params['chip']: - raise pins.error("TMC2208 rx and tx pins must be on the same mcu") + raise ppins.error("TMC2208 rx and tx pins must be on the same mcu") self.mcu = rx_pin_params['chip'] self.pullup = rx_pin_params['pullup'] self.rx_pin = rx_pin_params['pin'] |