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

M850 shows active sheet #4567

Closed 3d-gussner closed 8 months ago

3d-gussner commented 8 months ago

Prevent sheet being active if not initialized

Replaces #3947 and #3948

Show active sheet using M850

Send: M850
Recv: Sheet 0 Z-0.5125 R-205 LSmooth1 B0 P25 A1

Prevent not initialized sheet set active

Send: M850 S1 A1
Recv: Sheet 1 NOT INITIALIZED
Recv:  Z-0.0025 R-1 LSmooth2 B255 P255 A0
github-actions[bot] commented 8 months ago

All values in bytes. Δ Delta to base

Target ΔFlash ΔSRAM Used Flash Used SRAM Free Flash Free SRAM
MK3S_MULTILANG 26 0 246714 5656 7238 2536
MK3_MULTILANG 18 0 245996 5663 7956 2529
3d-gussner commented 8 months ago

@ RoboMagus Please review this PR as this should replace your PRs. It is also "cheaper" on resources. I think it does everything you wanted to solve.