prusa3d / Prusa-Firmware

Firmware for Original Prusa i3 3D printer by PrusaResearch
GNU General Public License v3.0
2.02k stars 1.05k forks source link

Fix pause indicator when print job timer is not used #4560

Closed gudnimg closed 8 months ago

gudnimg commented 9 months ago

Fixes #4554

Kudos goes to Marlin 2.1, printingIsPaused() and did_pause_print are copied from there :)

Change in memory: Flash: +50 bytes SRAM: +1 byte

github-actions[bot] commented 9 months ago

All values in bytes. Δ Delta to base

Target ΔFlash ΔSRAM Used Flash Used SRAM Free Flash Free SRAM
MK3S_MULTILANG 50 1 246738 5657 7214 2535
MK3_MULTILANG 50 1 246028 5664 7924 2528
gudnimg commented 9 months ago

@sarusani this is an alternative solution. I hope it fixes all cases. I will try testing this today and tomorrow.

gudnimg commented 8 months ago

Rebased to resolve merge conflict.