mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-05 04:54:11 -06:00
replicape: Don't require a host alias for the enable_pin default
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
afe853aecc
commit
36b1ccd598
2 changed files with 4 additions and 3 deletions
|
@ -167,7 +167,7 @@ class Replicape:
|
|||
config.getchoice('revision', revisions)
|
||||
self.host_mcu = mcu.get_printer_mcu(printer, config.get('host_mcu'))
|
||||
# Setup enable pin
|
||||
enable_pin = config.get('enable_pin', '!P9_41')
|
||||
enable_pin = config.get('enable_pin', '!gpio0_20')
|
||||
self.mcu_pwm_enable = ppins.setup_pin('digital_out', enable_pin)
|
||||
self.mcu_pwm_enable.setup_max_duration(0.)
|
||||
self.mcu_pwm_start_value = self.mcu_pwm_shutdown_value = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue