mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-18 04:08:04 -06:00
output_pin: Deprecate the maximum_mcu_duration parameter
Advise users to configure a pwm_tool config section if checking for maximum mcu duration is required. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7abafb575b
commit
1baa45913f
3 changed files with 14 additions and 9 deletions
|
@ -36,6 +36,7 @@ class PrinterOutputPin:
|
|||
maxval=MAX_SCHEDULE_TIME)
|
||||
self.mcu_pin.setup_max_duration(max_mcu_duration)
|
||||
if max_mcu_duration:
|
||||
config.deprecate('maximum_mcu_duration')
|
||||
self.resend_interval = max_mcu_duration - RESEND_HOST_TIME
|
||||
# Determine start and shutdown values
|
||||
static_value = config.getfloat('static_value', None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue