During the print, there are no problems, no matter, how long the print takes. Before updating klipper to version v0.13.0-229, everything worked fine with no error. I have already updated everthing and replaced the SD-Card.
Please help me figure out what´s wrong, where else to look?
(I suspect it is a fan, because there is not a lot of such cmds in the queue, and the last one is: queue_digital_out oid=22 clock=1039342246 on_ticks=1)
If you can reproduce this reliably (I suspect you don’t have to really print something, just dummy print and then end macro).
You can try to perform the: Klipper Versioning, Downgrading, and Bisecting
To find where it has been broken.
It is possible that recent refactoring introduced a bug with Pin PWM scheduling.
The oid=22 is the manual_stepper enable pin. The issue appears to be that explicit MANUAL_STEPPER STEPPER=flap_stepper ENABLE=x commands no longer work properly. The code was expecting that all steps are generated after each command and thus all stepper enable/disable commands will be synchronous with previous motion commands. Now that the steps are lazily generated, the “just in time” stepper enable check (via flush callbacks) can be run out of order with the explicit enable/disable commands. Thus we get into a situation where a subsequent motor disable can be sent out of order with respect to a prior motor enable, which causes the micro-controller to correctly report an error.