Alex Voinea
e8c8945650
Disable the watchdog early in the program
2022-12-16 12:25:44 +01:00
Alex Voinea
451f601697
Fix MK2.5 softReset()
2022-12-16 12:10:47 +01:00
Yuri D'Elia
001876a807
Parenthesize IS_SD_PRINTING defensively
2022-12-15 08:13:38 +01:00
Yuri D'Elia
3066fd1db3
Replace two expressions with cmd_head
2022-12-15 08:13:02 +01:00
Yuri D'Elia
a588a5f695
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-14 13:47:11 +01:00
Yuri D'Elia
c7865a83f2
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-14 13:47:11 +01:00
Yuri D'Elia
5c4ec5dd4f
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-13 18:38:26 +01:00
Yuri D'Elia
36575a4f83
Restore the previous model state when performing a nozzle change
...
Do not force-enable the model if it was previously disabled.
2022-12-12 20:17:56 +01:00
Yuri D'Elia
c5ec77a1ce
wizard: Allow finishing the calibration through menus
...
If the wizard is interrupted during model calibration, allow the
menu to mark "temperature model" calibration as complete.
2022-12-12 18:25:17 +01:00
Yuri D'Elia
0c042440ee
eeprom: Document new calibration state
2022-12-12 18:25:17 +01:00
Yuri D'Elia
118b39da39
wizard: Rework the thermal model calibration logic
...
- Correctly sequence the enqueued commands in order to check for the
real calibration result.
- Perform autocalibration with self-check enabled.
- Only save/continue the wizard if autocalibration succeeds.
2022-12-12 18:25:07 +01:00
Yuri D'Elia
38d893589f
selftest: Handle thermal errors in lcd_selfcheck_check_heater
...
- Simplify lcd_selfcheck_check_heater loop
- Check for/abort on Stopped (indicating a thermal failure).
2022-12-12 18:24:58 +01:00
Yuri D'Elia
4e7c830661
Remove M999 remnants
...
This was already removed in fc10ca3146
but got reinstated by mistake in the mmu2 merge.
Also remove another incorrect Stopped usage.
2022-12-12 17:52:48 +01:00
Yuri D'Elia
249be543fc
TM: Restore all original values if autotune fails
...
- Ensures repeated autotune attempts with self-check can't succeed due
to different starting conditions.
- Allows for a simpler workflow during selftest and wizard if autotune
fails.
2022-12-12 17:52:48 +01:00
Yuri D'Elia
2051809e2f
TM: Store only the last autotune result state
...
- Remove tm::valid and temp_model_valid as it's a duplicate of the
calibrated() state.
- Add temp_model_autotune_result() for future use.
2022-12-12 17:52:48 +01:00
Yuri D'Elia
324e501b18
TM: Set default resistance levels for MK3/MK3S
...
Provide average calibrated values for all fan levels for MK3/MK3S
variants and enable the model by default.
This ensures the calibration step is not skipped unless explicitly
disabled.
Force-clear fan values during autotune to restore the previous
calibration behavior, as fan resistance levels can be too big and
prevent the autotune-with-selfcheck to fail.
2022-12-12 17:52:48 +01:00
Yuri D'Elia
877c0bd35c
Fix potential buffer overflow in LCD messages
2022-12-12 17:52:48 +01:00
Yuri D'Elia
e2f1bfe506
TM: Remove unnecessary display comments
...
Favor code readability
2022-12-12 17:52:48 +01:00
Yuri D'Elia
4d87f65b68
Merge pull request #3443 from gudnimg/m109-turn-off-fan
...
Turn off print fan while resuming print from RAM
2022-12-12 15:20:20 +01:00
Yuri D'Elia
d84e497007
Merge pull request #3805 from 3d-gussner/MK3_Fix_M862.4_strict
...
MK3: Fix `M862.4` with [strict] mode
2022-12-12 12:38:15 +01:00
Yuri D'Elia
b4a061e70a
Merge pull request #3779 from gudnimg/fix_lcd_wizard_load_mmu
...
Don't show full screen message meant for single color setup
2022-12-10 11:27:48 +01:00
Guðni Már Gilbert
613ea290f5
Add a comment
2022-12-10 10:04:17 +00:00
Guðni Már Gilbert
9ed46df97f
Don't show full screen message meant for single color setup
...
load_filament_to_nozzle will show a more precise full screen message when an MMU is used.
2022-12-10 10:00:58 +00:00
Guðni Már Gilbert
70451b6bd3
Turn off print fan while restoring print from RAM
2022-12-10 09:53:43 +00:00
3d-gussner
40cc6dcb6d
Merge pull request #3783 from leptun/enable_PRUSA_SN_all_variants
...
Allow "PRUSA SN" to print the SN in eeprom on all variants
2022-12-09 14:51:57 +01:00
3d-gussner
5d80e544ea
Merge pull request #3796 from Hauzman/MK3_Romanian_translation
...
Update Ro Translation
2022-12-09 14:48:14 +01:00
Guðni Már Gilbert
1e39012953
Merge pull request #3793 from gudnimg/PFW-1453
...
PFW-1453 Stop Print: Don't unload if FINDA is not triggered
2022-12-09 12:54:16 +00:00
Hauzman
19b6590095
Update Ro Translation
2022-12-09 11:00:34 +01:00
Yuri D'Elia
68c5cdce1c
Merge pull request #3780 from gudnimg/stop-print-optimisations
...
optimisation: Improve Stop Print menu
2022-12-08 19:41:52 +01:00
3d-gussner
25b5e00652
Merge pull request #86 from wavexx/simple_checks
...
Simplify firmware/gcode version comparisons
2022-12-08 19:04:59 +01:00
Yuri D'Elia
a8b8085d22
Merge pull request #3811 from wavexx/build_drop_unused_option
...
cmake: Remove unused SECONDARY_LANGUAGES option
2022-12-08 18:51:53 +01:00
3d-gussner
92f2281b1a
Merge pull request #2335 from Panayiotis-git/MK3_NoBedHeating_onLoadUnload
...
@Panayiotis-git Thanks a lot!
Finally after 3 years 21 days your PR gets merged 🦕
2022-12-08 18:45:12 +01:00
Yuri D'Elia
5160e214ae
Merge branch 'MK3' into build_drop_unused_option
2022-12-08 18:32:32 +01:00
Yuri D'Elia
a266ff3cdb
Merge pull request #3812 from wavexx/cmake_no_warning
...
cmake: Remove usage warning
2022-12-08 18:30:04 +01:00
Yuri D'Elia
bfc44251c6
cmake: Remove usage warning
...
The cmake build system is effectively on-par (and a lot better in most
areas) compared to the old build system.
There's no need to warn developers anymore.
2022-12-08 13:41:51 +01:00
Yuri D'Elia
0cedb92ac6
Simplify firmware/gcode version comparisons
2022-12-07 18:59:29 +01:00
Yuri D'Elia
138725325a
cmake: Remove unused SECONDARY_LANGUAGES option
...
The option SECONDARY_LANGUAGES is no longer being used.
cmake always allows en/multilang for all selected variants
by using the appropriate target now (ALL_ENGLISH).
2022-12-07 16:00:32 +01:00
3d-gussner
96e4881da5
Merge pull request #3794 from gudnimg/fix-m862-q
...
Fix undefined pointer in `M862.2 Q` and `M862.3 Q`
2022-12-07 13:04:45 +01:00
3d-gussner
72dc06c892
Merge pull request #3800 from 3d-gussner/MK3_Nozzle_change_community_translations
...
Update Nozzle change community translations
2022-12-06 16:01:27 +01:00
3d-gussner
96736c9dd1
Update lang/po/Firmware_no.po
...
Co-authored-by: OS-kar <104255741+OS-kar@users.noreply.github.com>
2022-12-06 14:39:59 +01:00
3d-gussner
6f5a67491c
Fix `M862.4` with [strict] mode
...
Max 8 falvor versions
2022-12-06 13:18:52 +01:00
3d-gussner
ac4185704d
Merge pull request #3801 from 3d-gussner/MK3_FARM_Nozzle_change_menu
...
Add Nozzle change menu to FARM mode under Settings
Approved by FARM team
2022-12-06 10:57:16 +01:00
3d-gussner
1df4871a8b
Update Swedish translation
2022-12-06 09:21:13 +01:00
3d-gussner
1c9a3a6b25
Add Nozzle change menu to FARM mode under Settings
2022-12-05 18:22:18 +01:00
3d-gussner
edecd6187d
Update Nozzle change community translations
2022-12-05 18:10:25 +01:00
Guðni Már Gilbert
a8fe71df8c
PFW-1453 Stop Print: Don't unload if FINDA is not triggered
2022-12-05 16:45:57 +01:00
Alex Voinea
52965bd05d
Avoid using global variables
...
Flash: -68B
RAM: -4B
2022-12-05 16:43:51 +01:00
Guðni Már Gilbert
4c27d057b8
Don't inline fSetMmuMode
...
Saves 8 bytes of flash
2022-12-05 16:43:51 +01:00
Guðni Már Gilbert
074b62361f
Fix #3788
...
fSetMmuMode needs to be called
in order for the commands to work:
M862.2 Q
M862.3 Q
2022-12-05 16:43:51 +01:00
3d-gussner
c42553dca6
Merge pull request #3799 from 3d-gussner/MK3_Shorten_French
...
Shorten French translation and fix build for other PRs
2022-12-05 15:15:28 +01:00