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>
This commit is contained in:
Kevin O'Connor 2025-04-21 13:44:58 -04:00
parent 0f94f6c8e3
commit 42faa962fc
2 changed files with 6 additions and 1 deletions

View File

@ -8,6 +8,11 @@ All dates in this document are approximate.
## Changes ## 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 20250418: The manual_stepper `STOP_ON_ENDSTOP` feature may now take
less time to complete. Previously, the command would wait the entire less time to complete. Previously, the command would wait the entire
time the move could possibly take even if the endstop triggered time the move could possibly take even if the endstop triggered

View File

@ -548,7 +548,7 @@ class MCU_adc:
# Minimum time host needs to get scheduled events queued into mcu # Minimum time host needs to get scheduled events queued into mcu
MIN_SCHEDULE_TIME = 0.100 MIN_SCHEDULE_TIME = 0.100
# Maximum time all MCUs can internally schedule into the future # Maximum time all MCUs can internally schedule into the future
MAX_NOMINAL_DURATION = 5.0 MAX_NOMINAL_DURATION = 3.0
class MCU: class MCU:
error = error error = error