diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-08-24 09:34:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-08-26 18:27:20 -0400 |
commit | 9d75c3b0cace034ef8d51be1b38b705db33ac793 (patch) | |
tree | 2e748e7868c8a10d3e60a49a248b8766c388b3a9 /klippy/klippy.py | |
parent | 6ab8567d51d9f1b536d0adef276e31c3a986c1f2 (diff) | |
download | kutter-9d75c3b0cace034ef8d51be1b38b705db33ac793.tar.gz kutter-9d75c3b0cace034ef8d51be1b38b705db33ac793.tar.xz kutter-9d75c3b0cace034ef8d51be1b38b705db33ac793.zip |
chipmisc: Add support for statically configured output pins
Allow digital and PWM output pins to be setup via new config
sections. This makes it easier to setup pin configurations.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/klippy.py')
-rw-r--r-- | klippy/klippy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/klippy.py b/klippy/klippy.py index d733c3a8..f674720b 100644 --- a/klippy/klippy.py +++ b/klippy/klippy.py @@ -6,7 +6,7 @@ # This file may be distributed under the terms of the GNU GPLv3 license. import sys, optparse, ConfigParser, logging, time, threading import util, reactor, queuelogger, msgproto, gcode -import pins, mcu, extruder, fan, heater, toolhead +import pins, mcu, chipmisc, extruder, fan, heater, toolhead message_ready = "Printer is ready" @@ -172,7 +172,7 @@ class Printer: ConfigLogger(self.fileconfig, self.bglogger) # Create printer components config = ConfigWrapper(self, 'printer') - for m in [pins, mcu, extruder, fan, heater, toolhead]: + for m in [pins, mcu, chipmisc, extruder, fan, heater, toolhead]: m.add_printer_objects(self, config) self.mcu = self.objects['mcu'] # Validate that there are no undefined parameters in the config file |