aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcruwaller <cruwaller@gmail.com>2018-06-01 15:47:35 +0300
committerKevinOConnor <kevin@koconnor.net>2018-06-01 09:49:55 -0400
commit26378c256462dce0e22184662ce08ab6d983feb0 (patch)
tree5c8c48fd1850f17c74d0b5ef31f0a89cf4e03af5
parentff9543eee2c41befe5945ec7a60d102d03026472 (diff)
downloadkutter-26378c256462dce0e22184662ce08ab6d983feb0.tar.gz
kutter-26378c256462dce0e22184662ce08ab6d983feb0.tar.xz
kutter-26378c256462dce0e22184662ce08ab6d983feb0.zip
mcu: config_reset_cmd typo fixed
Signed-off-by: Petri Honkala <cruwaller@gmail.com>
-rw-r--r--klippy/mcu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/mcu.py b/klippy/mcu.py
index dd9df40d..d0be7c0e 100644
--- a/klippy/mcu.py
+++ b/klippy/mcu.py
@@ -605,7 +605,7 @@ class MCU:
self._config_reset_cmd = self.try_lookup_command("config_reset")
if (self._restart_method is None
and (self._reset_cmd is not None
- or self.config_reset_cmd is not None)
+ or self._config_reset_cmd is not None)
and self._serial.msgparser.get_constant(
'SERIAL_BAUD', None) is None):
self._restart_method = 'command'