mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 18:28:00 -06:00
bus: Support bus enumerations and add support for reserved pins
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
4c3d50693e
commit
1ab02e5225
5 changed files with 87 additions and 23 deletions
|
@ -64,7 +64,7 @@ class KeyboardReader:
|
|||
self.ser.register_callback(self.handle_output, '#output')
|
||||
self.mcu_freq = msgparser.get_constant_float('CLOCK_FREQ')
|
||||
mcu_type = msgparser.get_constant('MCU')
|
||||
self.pins = pins.PinResolver(mcu_type, validate_aliases=False)
|
||||
self.pins = pins.PinResolver(mcu_type, {}, validate_aliases=False)
|
||||
self.output("="*20 + " connected " + "="*20)
|
||||
return self.reactor.NEVER
|
||||
def output(self, msg):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue