3d-gussner
4e032f6f11
Change to saved_printing_type fixes few issues during power panic recovery
2024-03-13 17:43:00 +01:00
3d-gussner
fc157d1f6c
Fix missing eeprom_update_byte for debuging
2024-03-13 17:43:00 +01:00
3d-gussner
5b7c583dba
Fix `print_saved_in_ram` to be true for both SD and host prints
2024-03-13 17:43:00 +01:00
3d-gussner
9ec5639d29
Rename `sd_print_saved_in_ram` to `print_saved_in_ram` as it saves sd and host prints
2024-03-13 17:43:00 +01:00
3d-gussner
112d3c672c
Update debug_printer_states
2024-03-13 17:43:00 +01:00
3d-gussner
16aa2e7834
Hide LCD menu "Reprint" during power panic recovery
2024-03-13 17:43:00 +01:00
3d-gussner
886d610524
Cancle power recovery correctly using cancel_saved_printing();
2024-03-13 17:43:00 +01:00
3d-gussner
95c6ea5889
Fix to correct EEPROM address
2024-03-13 17:42:59 +01:00
3d-gussner
47235bbf62
Power panic recover lift by 20 Z_PAUSE_LIFT only once
...
by setting PENDING_RECOVERY_RETRY
Also the default saved_printing_type after a reboot is now PRINT_TYPE_NONE
2024-03-13 17:42:59 +01:00
3d-gussner
88b77ecce2
Add bool printer_recovering
2024-03-13 17:42:59 +01:00
3d-gussner
517900c3fe
Add DEBUG_PRINTER_STATES
2024-03-13 17:42:59 +01:00
D.R.racer
4bca4021c6
Bump up MMU FW version to 3.0.2
...
.
2024-03-04 11:55:54 +01:00
3d-gussner
f9bdb8b8aa
Add DEBUG_EEPROM_CHANGES
2024-02-27 08:56:18 +01:00
Alex Voinea
af64d446bf
Fix MK2.5 build
2024-02-26 10:14:01 +01:00
Alex Voinea
aededa34bb
Properly check for Z crashes while lowering/raising Z for Z calibration
2024-02-26 10:13:56 +01:00
Alex Voinea
326019a8bf
Use stallguard during Z calibration after XYZ calibration
2024-02-26 10:13:51 +01:00
Alex Voinea
692f062fee
Add tmc currents debug
2024-02-26 10:13:45 +01:00
Alex Voinea
ccb956eae4
Restore custom currents after homing end
2024-02-19 15:33:06 +01:00
Alex Voinea
e6a4856196
Restore default XY currents after homing
2024-02-19 15:32:22 +01:00
3d-gussner
dc3b3387ed
Merge pull request #4593 from 3d-gussner/MK3_Fix_Stop_print_for_host_prints
...
Fix Stop print to send host action when host print is active
2024-02-05 10:39:49 +01:00
3d-gussner
727a82bb3d
Fix Stop print to send host action when host print is active
2024-02-05 08:14:10 +01:00
gudnimg
794251884a
PFW-1552 Fix a regression introduced in f022567
...
Aborting the print while the nozzle and bed are still heating up
to their target temperatures should disable the heaters immediately.
2024-02-04 12:06:14 +00:00
Alex Voinea
bacb0b1b07
Fix 3x3 mbl condition
2024-02-02 14:45:30 +01:00
3d-gussner
6682237c7a
Merge pull request #4582 from gudnimg/PFW-1552
...
PFW-1552 and PFW-1544: Fix issue with MMU unload when a print is stopped with a cold nozzle
2024-02-01 06:22:49 +01:00
3d-gussner
e7ef3d6db5
Fix nitpicking
2024-01-29 13:07:48 +01:00
3d-gussner
52ba1b534d
Add HOST power panic auto recovery option
...
Change `PRINT_TYPE_USB` to `PRINT_TYPE_HOST`
Fix more rebase issues
Fix rebase issue again
2024-01-29 13:07:48 +01:00
3d-gussner
ffeda98894
Add power panic recovery to active state
...
Fix M79 send only recovery action when power panic recovery is pending
Fix rebase issues
2024-01-29 13:07:48 +01:00
3d-gussner
d1b88e1684
Don't show `Print from SD` when host print is paused
2024-01-29 13:07:48 +01:00
3d-gussner
c9aba688e3
Saving few bytes by removing spaces in `//action:` host commands. Thanks to @sarusani pointing out inconsistent documentation.
...
Renaming `MSG_OCTOPRINT_*` to `MSG_HOST_ACTION_*` as it is used also with PrusaLink and other host printing solutions
Fix rebase issues
2024-01-29 13:07:48 +01:00
3d-gussner
fda30f82c8
Don't show `Set Ready`when not idle
2024-01-29 13:07:48 +01:00
gudnimg
abcb1017f3
PFW-1553 fix regression where SD card file is not closed when stopping paused print
...
When a print is paused, card.sdprinting is set to false. Instead we can check
if the SD card has been mounted and try to close the file.
The closefile() method will check internally whether or not the file is open.
2024-01-27 15:21:08 +00:00
gudnimg
f022567239
PFW-1522 Fix an issue where MMU unloads while nozzle is cold if print is stopped
...
In the case of a Fan Error, the print is paused. If the nozzle is allowed to cool for a while before the print is stopped via the LCD, then the MMU will try to unload with a cold nozzle.
This can happen with ANY recoverable thermal errors.
In this commit I attempt to fix all scenarios. Including PFW-1544 where the nozzle is cooling down when the print has finished normally.
PFW-1544
PFW-1552
Change in memory:
Flash: +74 bytes
SRAM: 0 bytes
2024-01-27 11:54:54 +00:00
gudnimg
c0b76dd5cf
cleanup: move st_synchronize under the if statement
...
If the if statement is not true, then the st_synchronize call is not useful
The raise_z call above the if statement does not need it since it always calls st_synchronize (blocking move)
No change in memory
2024-01-27 10:47:23 +00:00
3d-gussner
3957dc91aa
Add commit number and hash to `M115`
...
Don't show UUID only if defined
2024-01-22 16:31:23 +01:00
3d-gussner
b80965731f
Merge pull request #4421 from gudnimg/sd-card-mount-opt
...
cleanup: Don't set root directory if SD card fails to mount + 3 renames
2024-01-22 09:11:19 +01:00
3d-gussner
02b91dc2cb
Merge pull request #4563 from 3d-gussner/MK3_Quick_nozzle_change_menu
...
Add nozzle diameter change to main menu for REVO builds
2024-01-19 14:26:18 +01:00
3d-gussner
6da1ec924b
Merge pull request #4567 from 3d-gussner/MK3_M850_show_active_sheet
...
M850 shows active sheet
2024-01-15 08:56:04 +01:00
3d-gussner
339a10eb81
Merge pull request #4556 from gudnimg/usb-timer-fix
...
Restart USB timer during long moves
2024-01-12 14:41:51 +01:00
3d-gussner
f3e5444d47
M850 shows active sheet
...
Prevent sheet being active if not initialized
2024-01-12 13:41:55 +01:00
3d-gussner
13fb11889e
Minor cosmetic changes voted by community
2024-01-12 07:20:33 +01:00
gudnimg
adf2ecabc1
Fix pause indicator when print job timer is not used
...
Fixes #4554
Change in memory:
Flash: +50 bytes
SRAM: +1 byte
2024-01-11 19:30:30 +00:00
3d-gussner
d5a5835059
Add nozzle change to main menu when QUICK_NOZZLE_CHANGE is defined
...
Add Nozzle diameter to Info screen when printer inactive and QUICK_NOZZLE_CHANGE defined
Solves #4488
2024-01-11 07:36:51 +01:00
3d-gussner
8d50d29776
Merge pull request #4553 from sarusani/shutdownHostLCDEntry
...
Add Shutdown host to LCD Menu
2024-01-11 07:33:16 +01:00
3d-gussner
f18fc2bbce
Fix Pause->Tune->Auto Home layer shift
2024-01-09 11:07:29 +01:00
Guðni Már Gilbert
ae31c0ec31
optimisation: used expired() instead of elapsed()
...
If the timer is expired, then the timer is stopped. This is OK since
we are starting the timer again anyway
Change in memory:
Flash: -14 bytes
SRAM: 0 bytes
2024-01-06 00:23:19 +00:00
gudnimg
09952db139
Restart USB timer during long moves
...
When long moves are planned and executed the USB timer can expire.
In PrusaSlicer 2.7.1 the Toolchange command (T0, T1, etc.) is sent while the USB timer is expired. This will trigger
a manual MMU unload in the firmware. Not only does this trigger a loud beep from the buzzer, but this will also significantly increase print time.
The issue only affects host prints. SD card printing does not have this issue.
Fixes #4551
The fix in this commit is the following:
If there are blocks queued while printing via host AND the USB timer is halfway expired WHILE executing a move. Then simply restart the timer to keep it alive.
Change in memory:
Flash: +62 bytes
SRAM: 0 bytes
2024-01-06 00:23:19 +00:00
sarusani
59093107fd
Add #ifdef HOST_SHUTDOWN
2024-01-06 00:45:06 +01:00
sarusani
49f9d7abdc
Add Shutdown host to LCD Menu
...
Add "Shutdown host" entry to LCD menu if printer is not active and host is connected.
2024-01-06 00:45:06 +01:00
3d-gussner
db044163f9
Unify Selftest messages
2024-01-04 11:18:07 +01:00
gudnimg
9bd043c83b
Move restore_file_from_sd out of power panic file
...
This function is not specific to power panic. Some printer models
do not have power panic enabled.
This change fixes a build failure
No change in memory
2023-12-30 12:19:51 +00:00