Commit Graph

6120 Commits

Author SHA1 Message Date
Yuri D'Elia 62d362f45f Also prevent longpress when Stopped 2022-12-19 10:50:34 +01:00
Yuri D'Elia 64eefa969b TM: Disallow preheat/filament actions when stopped
Require acknowledgement first

Fix cherry-pick mmu2 issue
2022-12-19 10:50:06 +01:00
Yuri D'Elia 5fc277469a TM: Allow to resume without a running print
If there is no running print, and the printer is Stopped, add a new
"Acknowledge error" menu entry to unlock the printer.

This simply calls lcd_print_stop(), which is identical in behavior to a
thermal error with a running print.
2022-12-19 10:48:40 +01:00
Yuri D'Elia 3c1c2fd2ca Use menu_set_block() in ThermalStop()
Set a menu block for fatal thermal errors instead of abusing
lcd_return_to_status() to kick the user out of the menus.

This now allows a thermal model error to be recoverable through menu
access.
2022-12-19 10:48:26 +01:00
Yuri D'Elia 5e50a15c88 Do not show/call LCD status updates when unchanged
This mostly prevents useless serial noise
2022-12-19 10:48:12 +01:00
Yuri D'Elia a551536386 TM: correctly mark repeated anomalies 2022-12-19 10:47:58 +01:00
Yuri D'Elia 3b65aa06c5 TM: Clear the Stopped state when stopping the current print
We allow resuming from the LCD via start print and resume print,
it makes sense to clear the error on stop too.

For this reason distinguish whether the action is performed
automatically or manually (ie: interactively).

The error is only cleared when the command is run interactively.
2022-12-19 10:47:41 +01:00
Yuri D'Elia 94583c861b Rename print_stop() to lcd_print_stop_finish() for clarity 2022-12-19 10:47:26 +01:00
Yuri D'Elia d37a2a173a Parenthesize IS_SD_PRINTING defensively 2022-12-19 10:47:10 +01:00
Yuri D'Elia de20fc6a5a Replace two expressions with cmd_head 2022-12-19 10:46:58 +01:00
Yuri D'Elia 5ab0dcb4c5 Allow M310 to bypass the Stopped state for recovery
Since M310 cannot change the heaters, allowing M310 S0 (and changing
parameters) allows to recover a usb-controlled printer which has been
locked-out due to bad model settings.
2022-12-19 10:46:45 +01:00
Yuri D'Elia 42125b4bb2 Keep a pointer past the line number in cmdqueue
This allows to skip line numbers transparently and perform faster
checks on the actual command to process.
2022-12-19 10:46:33 +01:00
Yuri D'Elia c890c9e8b0 TM: Do not lockout the menus on thermal errors
This prevents the ability to run gcode from the SD card.

In a thermal error with faulty values, and without serial access, this
is the only way to process an M310 instruction and recover.
2022-12-19 10:46:17 +01:00
3d-gussner d59dfc7bc7 Remove unused community translations 2022-12-16 16:08:55 +01:00
3d-gussner 4c8afd8550 Shorten French translation
Fix cherry-pick issue Remove new MMU2 messages
2022-12-16 15:58:29 +01:00
3d-gussner 263a4959d7 Fix `µ` character shown on translations
Fix cherry-pick issues
2022-12-16 15:58:29 +01:00
Yuri D'Elia 4438aa4909 TM: reset fan measuring state when changing speed
Ensure that fan checks are reset and use the new speed at each step of
the calibration.

This also gives extra time to the fan to ramp-up from a cold start,
when a fancheck could previously start right *after* the speed change.

Should fix #3791
2022-12-16 15:31:34 +01:00
Yuri D'Elia 1e19eedf26
Merge pull request #3806 from 3d-gussner/MK3_3.12_Fix_M862.4_strict
MK3_3.12: Fix `M862.4` with [strict] mode
2022-12-12 13:04:12 +01:00
Yuri D'Elia a6eff8f8a5 Simplify firmware/gcode version comparisons
Fix cherry-pick issue
2022-12-12 12:43:13 +01:00
3d-gussner be668c89af
Merge pull request #3808 from 3d-gussner/MK3_3.12_Nozzle_change_community_translations
MK3_3.12: Nozzle change community translations
2022-12-07 07:19:53 +01:00
3d-gussner 571895412d
Merge pull request #3804 from 3d-gussner/MK3_3.12_Shorten_French
MK3_3.12: Shorten French translation
2022-12-06 16:02:49 +01:00
3d-gussner 732fb9dbfc
Merge pull request #3803 from 3d-gussner/MK3_3.12_FARM_Nozzle_change_menu
MK3_3.12: Add Nozzle change menu to FARM mode under Settings
2022-12-06 16:02:15 +01:00
3d-gussner 9f22478c35 Update lang/po/Firmware_no.po
Co-authored-by: OS-kar <104255741+OS-kar@users.noreply.github.com>
2022-12-06 15:58:44 +01:00
3d-gussner 8f1c11b016 Update Swedish translation 2022-12-06 15:58:22 +01:00
3d-gussner 1b659c5ded Update Nozzle change community translations 2022-12-06 15:57:34 +01:00
3d-gussner 49506b5348 Fix `M862.4` with [strict] mode
Max 8 falvor versions

Fix cherry-pick issues
2022-12-06 13:31:44 +01:00
3d-gussner 62eee7ddff Shorten French translation 2022-12-06 11:31:18 +01:00
3d-gussner a1da5ed1ad Add Nozzle change menu to FARM mode under Settings
Fix cherry-pick issue
2022-12-06 11:28:21 +01:00
3d-gussner b2b8fee015
Merge pull request #3790 from 3d-gussner/MK3_3.12_Nozzle_change
Fix yes no for Nozzle change
2022-11-30 17:59:34 +01:00
3d-gussner 12fc82fc36 Fix yes no 2022-11-30 16:16:57 +01:00
3d-gussner b5b4e4d335
Merge pull request #3789 from 3d-gussner/MK3_3.12_Nozzle_change
Mk3 3.12 nozzle change
2022-11-30 15:51:17 +01:00
3d-gussner 6062a507d9
Merge pull request #3770 from 3d-gussner/MK3_3_12_Temp_model_cal_wizard
PFW-1434: MK3_3.12 Temp model calibration during wizard
2022-11-30 15:34:01 +01:00
3d-gussner 7a42af1ba6 Update internal translations
Fix G28 W
2022-11-30 15:23:31 +01:00
Alex Voinea ade8a87a3f fullscreen message: use \n to force the next word on the next line
Useful for printing short URLs since those contain punctuation characters, which get treated at the end of a word under usual circumstances
2022-11-30 15:23:07 +01:00
Alex Voinea 8261712635 Fix recursion 2022-11-30 15:22:42 +01:00
3d-gussner d87f499443 Nozzle change menu
Fix cherry pick
2022-11-30 15:20:44 +01:00
3d-gussner 7ca4d73d4a Updated community languages
Thanks to @ingbrzy @shatter136 @Hauzman
2022-11-30 08:09:33 +01:00
3d-gussner ac55c103a4 Update internal translations
Fix typo
2022-11-24 11:03:04 +01:00
D.R.racer a03183723c Fix & optimize FW version parsing and checking
PFW-1433
2022-11-23 13:58:55 +01:00
D.R.racer 2a7f75c2c3 Update CS translation 2022-11-22 08:42:00 +01:00
3d-gussner 6d7d5d4ef3 Fix typo
Add Norwegian translations thanks to @OS-kar
2022-11-22 08:31:12 +01:00
3d-gussner 696117e73b Fix cherry-pick 2022-11-20 11:14:06 +01:00
3d-gussner 6e330c11a7 Update Temp Model messages
Deepl translate cs,de,es,fr,it,nl,pl
2022-11-20 11:12:20 +01:00
3d-gussner f8edad2fba Unhack selftest hack during wizard 2022-11-20 11:05:45 +01:00
Alex Voinea 0f70665e44 XYZ calibration fixes 2022-11-20 11:05:26 +01:00
Alex Voinea 7e9d9ade5c Fix wizard serial messages 2022-11-20 11:03:06 +01:00
3d-gussner 7fe1a50899 Inital Temp Model cal wizard 2022-11-20 11:02:38 +01:00
DRracer 12f6f34cf4
Merge pull request #3752 from 3d-gussner/MK3_3.12_v3.12.0-RC1
Bump up build number to 5576
2022-11-14 14:35:19 +01:00
3d-gussner a8de9d5696 Bump up build number to 5576
+2 for https://github.com/prusa3d/Prusa-Firmware/pull/3745
+1 commit
+1 merge
2022-11-14 14:17:11 +01:00
3d-gussner 44763f71c0
Merge pull request #3747 from leptun/3.12_MK2.5_XYZ_Cal_fixes
MK2.5: unblock planner after plan_abort_hard()
2022-11-11 09:44:43 +01:00