Klipper is a 3d-printer firmware
Find a file
Kevin O'Connor 184ba4080c
Some checks are pending
Build test / build (push) Waiting to run
toolhead: Flush lookahead on dwell - fix flushing bug after long delays
Commit 7ea5f5d2 changed how the lookahead queue is flushed.
Previously, the main flush timer would always run while the toolhead
was considered in an active state (print_time).  After that commit,
the flush timer could sleep if there were no steps generated (no call
to note_mcu_movequeue_activity() ).  This could lead to a situation
where a G4 command (or series of commands) could cause the toolhead to
be considered in an active state while the flush timer was disabled.
The result was that a future command may not be properly flushed (the
toolhead would fail to transition to a "Priming" state).

Fix by ensuring that all dwell() requests fully flush the lookahead
queue.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-09-29 11:31:31 -04:00
.github workflows: Update github build-test.yaml to ubuntu-22.04 2025-04-16 13:19:54 -04:00
config config: Modify software SPI to hardware SPI for BIGTREETECH boards 2025-09-28 22:00:58 -04:00
docs docs: Update Code_Overview.md with recent motion generation changes 2025-09-24 15:47:13 -04:00
klippy toolhead: Flush lookahead on dwell - fix flushing bug after long delays 2025-09-29 11:31:31 -04:00
lib spi_flash: FATFS fix missing long filenames support needed by flash-sdcard.sh (#6981) 2025-07-27 12:09:11 -04:00
scripts spi_flash: Update board_defs.py (#7006) 2025-08-21 11:32:33 -04:00
src stm32: Add spi2_PB6_PB7_PB8 and spi3_PC11_PC12_PC10 for stm32g0 2025-09-28 22:00:58 -04:00
test filament_motion_sensor: define tests 2025-09-04 14:20:25 -04:00
.gitignore util: Fix versioning when gitdir is absent (#809) 2018-10-27 10:44:38 -04:00
COPYING COPYING: Update GPLv3 license to latest text (uses https instead of http) 2022-06-03 11:28:44 -04:00
Makefile Revert "Makefile: Don't disable gcc's use-linker-plugin option" 2025-04-16 15:24:05 -04:00
README.md docs: Improve wording of main Klipper page 2025-01-21 18:54:00 -05:00

Welcome to the Klipper project!

Klipper

https://www.klipper3d.org/

The Klipper firmware controls 3d-Printers. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use the Klipper software.

Start by installing Klipper software.

Klipper software is Free Software. See the license or read the documentation. We depend on the generous support from our sponsors.