From 9d75c3b0cace034ef8d51be1b38b705db33ac793 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 24 Aug 2017 09:34:31 -0400 Subject: 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 --- klippy/klippy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'klippy/klippy.py') 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 -- cgit v1.2.3-70-g09d2