Frix-x / klippain

Generic Klipper configuration for 3D printers
GNU General Public License v3.0
849 stars 221 forks source link

CANCEL_PRINT may not work if a PAUSE is active #297

Closed Frix-x closed 12 months ago

Frix-x commented 12 months ago

Klippain branch

Version

v4.1.1

Describe the bug and expected behavior

At least two users told me that there is a problem with the CANCEL_PRINT macro that doesn't cancel the print: it PARK the toolhead and then the print resume automatically. The common point between both users is the fact that they issued a PAUSE before calling the CANCEL_PRINT macro.

So this need to be investigated.

Additional information and klippy.log

No response

Frix-x commented 12 months ago

Ok, after further investigation, it look like this is due to the same problem as #285 The park position was not set in the user variables.cfg (it was -1, -1) so this check at startup is really needed!