Commit Graph

5247 Commits

Author SHA1 Message Date
Guðni Már Gilbert
121324d20b Revert "Remove one space from Support -> Temperatures menu"
This reverts commit 158877e736.
2022-02-08 00:09:09 +01:00
Guðni Már Gilbert
ff00988303 Revert "Replace hardcoded values and optimise strings"
This reverts commit e62bc4686f.
2022-02-06 11:09:45 +01:00
Alex Voinea
670214a30b Fix indentation 2022-02-06 11:01:35 +01:00
Guðni Már Gilbert
c6ecc0dfc9
Merge branch 'prusa3d:MK3' into lcd-optimisation-gudni 2022-02-06 09:54:58 +00:00
Guðni Már Gilbert
a22a7ea9d7 Change LCD_STR_UPLEVEL to LCD_STR_UPLEVEL[0] for consistency
Saves 4 bytes of flash and 2 bytes of SRAM (Arduino IDE 1.8.19)
2022-02-05 19:58:31 +00:00
Guðni Már Gilbert
d5b666d260 Add LCD_STR_SOLID_BLOCK to represent \xFF 2022-02-05 19:53:42 +00:00
Guðni Már Gilbert
976c8c4902 Change message from .c to .cpp
The allows us to include lcd.h and replace hardcoded value with define LCD_STR_REFRESH

Also deleted a #define for bool which does not seem to be used.
2022-02-05 18:57:18 +00:00
Guðni Már Gilbert
e62bc4686f Replace hardcoded values and optimise strings
This commit saves 64 bytes of flash memory on my end
2022-02-05 18:28:17 +00:00
3d-gussner
60aa996ba7
Fix typo (#3356)
Fixed `community` typo
2022-01-21 16:28:19 +02:00
3d-gussner
6a6376cb40
Merge pull request #3070 from 3d-gussner/MK3_Community_issue_template
MK3 community issue template and List of Community made translations
2022-01-21 15:08:16 +01:00
DRracer
5c463dce29
Merge pull request #3355 from 3d-gussner/MK3_Travis_focal
Change Travis to Ubuntu 20.04 LTS (focal)
2022-01-21 12:34:05 +01:00
3d-gussner
025a9e2461
Add space
Thanks @wavexx
2022-01-21 08:15:54 +01:00
DRracer
adac011e17
Merge pull request #3354 from leptun/MK3-vscode
Ignore .vscode dir
2022-01-21 07:41:34 +01:00
3d-gussner
a795fda7b5 Trying to push travis build 2022-01-21 07:40:04 +01:00
3d-gussner
f924fb9ade Change Travis to Ubuntu 20.04 LTS (focal) 2022-01-21 05:55:43 +01:00
Alex Voinea
38ef656ffd Ignore .vscode dir 2022-01-20 14:59:39 +01:00
3d-gussner
978b9d5eeb
Add Hungarian and Swedish maintainers 2022-01-18 07:39:03 +01:00
3d-gussner
81657678f7
Fix Typo 2022-01-18 07:34:00 +01:00
3d-gussner
113b5ea905
Add MK404 2022-01-17 16:17:29 +01:00
Alex Voinea
aeec7236ee
Update Community_made_translations.md 2022-01-17 17:09:48 +02:00
DRracer
0be90dc5d1
Merge pull request #3320 from prusa3d/MK3_3.10.1
Merge MK3_3.10.1 into MK3 after release
2021-12-17 14:02:13 +01:00
D.R.racer
caca7bb9b8 Version changed (3.10.1 build 4697) 2021-12-16 12:14:02 +01:00
DRracer
86b48ebe04
Merge pull request #3318 from 3d-gussner/MK3_3.10.1_prepare_release
MK3 3.10.1 prepare release
2021-12-16 12:01:49 +01:00
3d-gussner
add4872292 Update po files before release 2021-12-16 11:52:35 +01:00
3d-gussner
1c1e69e555 Update FW crash message 2021-12-16 11:23:44 +01:00
DRracer
752e9d5544
Merge pull request #3317 from 3d-gussner/MK3_3.10.1_RepRap_documentation
MK3 3.10.1 Update RepRap documentation for D20 - D23
2021-12-16 10:09:59 +01:00
3d-gussner
785d94ab3a Add links to RepRap Gcode wiki for new Dcodes D20-D23 2021-12-16 09:32:38 +01:00
DRracer
1a7a313cbf
Merge pull request #3311 from wavexx/temp_runaway_fixes
Ensure THERMAL RUNAWAY / temperature errors stay on-screen
2021-12-14 06:53:27 +01:00
Yuri D'Elia
3849f9785a Make cancel_heatup also abort cooldown in M190
This matches the expected behavior, as already implemented in
wait_for_heater().
2021-12-10 01:51:43 +01:00
Yuri D'Elia
320835a1b7 Do not cancel wait-for-temperature loops in disable_heaters()
Partially revert previous change: cancelling a single loop would often
advance the gcode stream to the next wait-for loop if executed at the
beginning of an SD print, implicitly turning off the flag again.

Cancel the loop directly in UnconditionalStop() which stops the command
queue as well in an atomic way, handling this correctly.
2021-12-10 01:46:20 +01:00
Yuri D'Elia
32d8d892f5 Actually call UnconditionalStop() in Stop()->lcd_print_stop()
Remove incorrect check introduced during development.
2021-12-10 01:43:59 +01:00
Yuri D'Elia
83693bf4cc Remove useless assignment in lcd_cooldown
The current filament action will be aborted by lcd_return_to_status()
2021-12-07 19:27:18 +01:00
Yuri D'Elia
78f856c8d6 Do not unconditionally overwrite the status message in check_file()
No function should touch the status message directly without checking
the message severity level first. Replace the strcpy_P with
lcd_setstatuspgm().
2021-12-07 19:27:18 +01:00
Yuri D'Elia
7ff117d0c4 temp_runaway_stop: remove spourious space in error message 2021-12-07 19:27:18 +01:00
Yuri D'Elia
36a7b5ca56 Avoid redundant checks in lcd_setalertstatus* 2021-12-07 19:27:18 +01:00
Yuri D'Elia
a3915b57b9 Improve temp_runaway_stop robustness
Remove most of the duplicated code inside temp_runaway_stop(),
making it identical to the other temperature handlers.

Move the lower-level functions required to stop the entirety of the
machine into UnconditionalStop(). Reuse this function inside
lcd_print_stop().

Set the LCD alert message before calling Stop(), as done in other safety
handlers, so that the error is visible while the printer is stopping.

This also avoids other temporary status messages to appear before
the real issue is shown and/or STEALING the first CRITICAL alert
level before we do.
2021-12-07 19:25:34 +01:00
Yuri D'Elia
57abffda1b Update temperature-related error message to use LCD_STATUS_CRITICAL 2021-12-07 11:09:58 +01:00
Yuri D'Elia
fb025bba05 Introduce severity levels for alert messages
Use the internal lcd_status_message_level for multiple severity levels
of alert messages.

This is needed to distinguish between non-critical alerts (such as FAN
ERROR) from critical ones (any heater issue). During a failure
scenario, a critical error MUST NOT be overridden by a lower-level one.

As such LCD_STATUS_CRITICAL is currently used for all heater-related
errors that result in a safety full-stop.
2021-12-07 11:06:08 +01:00
DRracer
a7dfe4b523
Merge pull request #3305 from gudnimg/sd-card-lcdtimer-fix-gudni-v2
Fix issue when the SD card is inserted and the file menu may sometimes close immediately due to a timeout
2021-11-19 07:23:21 +01:00
DRracer
3228f9d03c
Merge pull request #3304 from gudnimg/gudni-fix-compile-issue-v2
Fix build error when `TMC2130_SERVICE_CODES_M910_M918` is enabled
2021-11-19 07:21:38 +01:00
Guðni Már Gilbert
be79e3791f Fixes #3262
Make sure to call lcd_timeoutToStatus.start() when the SD card is inserted
into the printer after it was removed beforehand.

(cherry picked from commit 6795843f153aa064f087f80990419a946cdfe857)
2021-11-18 19:23:21 +00:00
Guðni Már Gilbert
13732f162b Fix build error when TMC2130_SERVICE_CODES_M910_M918 is enabled
(cherry picked from commit 6ed4b79cc6685f31b6914881008e036424dab2eb)
2021-11-18 19:19:56 +00:00
DRracer
bb9ba95bfc
Merge pull request #3303 from Panayiotis-git/MK3_3.10.1
Print temperatures only if filament loading is still active
2021-11-18 11:59:05 +01:00
Panayiotis-git
f8410d8f3c Print temperatures only if filament loading is still active 2021-11-18 11:46:36 +02:00
DRracer
98d4e6972a
Merge pull request #3271 from dweekly/patch-1
Fix typos & small grammar changes
2021-11-18 08:50:04 +01:00
DRracer
13f0f4d85a
Merge pull request #3291 from EV3R4/typo-m84-docs
Typo: M84 docs
2021-11-18 08:46:25 +01:00
DRracer
e9fe7607a7
Merge pull request #3082 from awenelo/fix-bug-template
Keep consistent formatting for issue template
2021-11-18 08:43:14 +01:00
EV3R4
eff9cd9f21 Typo: M84 docs 2021-09-27 19:34:53 +02:00
David E. Weekly
b37e289a8f
Fix typos & small grammar changes
Applied some gentle love to make this read better to a native English speaker. No meaningful change in content.
2021-08-22 12:25:50 -07:00
DRracer
3bf5d937a8
Merge pull request #3192 from 3d-gussner/PFW-1271_PF-buildv20
PFW-1271 PF-build v2.0.0
2021-08-02 08:55:57 +02:00