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

optimisation: simplify two LCD messages #4461

Closed gudnimg closed 11 months ago

gudnimg commented 1 year ago

There is no need to restrict how often the message is rendered. It was being restricted to render every 1 second. We don't do this for most of the static menus. So I propose this 1 second period be removed.

Tested on MK3S+

Change in memory: Flash: -168 bytes SRAM: -8 bytes

github-actions[bot] commented 1 year ago

All values in bytes. Δ Delta to base

Target ΔFlash ΔSRAM Used Flash Used SRAM Free Flash Free SRAM
MK3S_MULTILANG -168 -8 245864 5630 8088 2562
MK3_MULTILANG -168 -8 245150 5639 8802 2553