diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-04-21 13:44:58 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-04-28 19:28:52 -0400 |
commit | 42faa962fc1085ab530dd148c4de54dfcc718833 (patch) | |
tree | 1529160be324e6c41f0ef6a841a6570538ee2f49 | |
parent | 0f94f6c8e3a6f95396729177ae925e6436320ac4 (diff) | |
download | kutter-42faa962fc1085ab530dd148c4de54dfcc718833.tar.gz kutter-42faa962fc1085ab530dd148c4de54dfcc718833.tar.xz kutter-42faa962fc1085ab530dd148c4de54dfcc718833.zip |
mcu: Decrease mcu.max_nominal_duration() to 3 seconds from 5
This allows the mcu to utilize faster internal speeds.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r-- | docs/Config_Changes.md | 5 | ||||
-rw-r--r-- | klippy/mcu.py | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index 3059eec5..368e8900 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -8,6 +8,11 @@ All dates in this document are approximate. ## Changes +20250425: The maximum `cycle_time` for pwm `[output_pin]`, +`[pwm_cycle_time]`, `[pwm_tool]`, and similar config sections is now 3 +seconds (reduced from 5 seconds). The `maximum_mcu_duration` in +`[pwm_tool]` is now also 3 seconds. + 20250418: The manual_stepper `STOP_ON_ENDSTOP` feature may now take less time to complete. Previously, the command would wait the entire time the move could possibly take even if the endstop triggered diff --git a/klippy/mcu.py b/klippy/mcu.py index 2800b235..ca519198 100644 --- a/klippy/mcu.py +++ b/klippy/mcu.py @@ -548,7 +548,7 @@ class MCU_adc: # Minimum time host needs to get scheduled events queued into mcu MIN_SCHEDULE_TIME = 0.100 # Maximum time all MCUs can internally schedule into the future -MAX_NOMINAL_DURATION = 5.0 +MAX_NOMINAL_DURATION = 3.0 class MCU: error = error |