Commit Graph

6567 Commits

Author SHA1 Message Date
Tom Mittendorf 24b638b5d4 fixed undefined behaviour when left shifting a negative number 2022-09-21 16:21:19 +02:00
Yuri D'Elia a08984d94e
Merge pull request #3618 from wavexx/fix_startup
Do not hang during startup
2022-09-21 16:17:53 +02:00
Yuri D'Elia 9a9aadca87 Do not hang during startup
In ultralcd_init() do not use lcd_setstatuspgm() to initialize the
welcome message.

The internal call to lcd_finishstatus() requires the serial to be
already available. Split the function into lcd_padstatus() to pre-pad
the string and save some space.
2022-09-21 16:12:16 +02:00
DRracer f7d4095479
Merge branch 'MK3' into MK3_MMU2_fix1 2022-09-21 15:18:44 +02:00
Yuri D'Elia 86944d9ff6
Merge pull request #3616 from leptun/optimize_prusa_commands
Move strings to progmem
2022-09-21 15:07:58 +02:00
Alex Voinea 2cdd3ba364 Move strings to progmem 2022-09-21 14:53:54 +02:00
Yuri D'Elia 16d1ef8510
Merge pull request #3560 from leptun/splash_version
Show firmware version on splash screen
2022-09-21 14:47:41 +02:00
Yuri D'Elia a1213d6a6e
Merge pull request #3600 from gudnimg/init-lcd-status
Fix initialization of LCD status line message
2022-09-21 14:46:10 +02:00
Yuri D'Elia ca9a28eff2
Merge pull request #3612 from wavexx/tm_update_r0
Temperature model: update R0 estimate
2022-09-21 14:46:03 +02:00
Yuri D'Elia bccdab4c22
Merge pull request #3615 from wavexx/line_cnt_reset_fix
Do not reset line on serial commands without N
2022-09-21 14:45:46 +02:00
Yuri D'Elia 9f1f396c18
Merge pull request #3609 from wavexx/set_313_version
Update current FW version
2022-09-21 14:43:55 +02:00
3d-gussner 183e21aa0b
Merge pull request #3599 from 3d-gussner/MK3_MMU2_messages
PFW-1339 - Update MMU2 translations
2022-09-21 10:27:01 +02:00
Yuri D'Elia 129df6dd4a Do not reset line on serial commands without N
Fix regression introduced in fc10ca3146.

Accept incoming serial commands without line numbers (assumed to be
injected by the host), but do not reset the last line count when doing
so.
2022-09-21 10:19:16 +02:00
Yuri D'Elia 1c4e9463ec Temperature model: update R0 estimate
Update the default R0 estimate thanks to a larger dataset.
This improves the error margin during self-check.
2022-09-20 16:57:54 +02:00
Guðni Már Gilbert eb7de5149b Don't inline the function
Change in memory:
Flash: -44 bytes
SRAM: 0 bytes
2022-09-20 06:34:24 +02:00
Guðni Már Gilbert c8a8484ca7 Remove atomic_update parameter
Change in memory:
Flash: +24 bytes
SRAM: -0 byte
2022-09-20 06:34:24 +02:00
Guðni Már Gilbert 76fb4610ea Optimisation: Remove duplicated code in cmdqueue_could_enqueue_back()
Code is 28 lines shorter :)

Change in memory:
Flash: -42 bytes
SRAM: 0 bytes
2022-09-20 06:34:24 +02:00
Yuri D'Elia 156b5e5b99 Update current FW version 2022-09-19 18:15:39 +02:00
Alex Voinea 6a470791d3 Allow sending uint16_t values to registers 2022-09-19 15:13:37 +02:00
3d-gussner 0d00da6364 Consistent use of Idler = Spannrol and Pulley = Riemschijf in Dutch
Thanks to @vintagepc
2022-09-19 08:20:31 +02:00
3d-gussner 770fdcd83b Fix typo, thanks to @gudnimg 2022-09-19 08:02:40 +02:00
Guðni Már Gilbert 28b0ef1acb PFW-1369 Use same ramming sequence as default settings in Slicer 2022-09-19 07:23:03 +02:00
3d-gussner 82f29634c4 Forgot one Dutch translation 2022-09-17 18:10:02 +02:00
3d-gussner 075a80e264 Add missing text
Finish Dutch translation
2022-09-17 17:38:45 +02:00
3d-gussner 068f4763e2 Update translatable strings to match our extraction macros
Update pot and po files
2022-09-17 16:53:30 +02:00
3d-gussner ae8d1eb546 Dutch translation part 1 2022-09-17 16:36:09 +02:00
3d-gussner d9df8eed79 update pot and po files 2022-09-17 16:36:09 +02:00
3d-gussner 47d7ea5dfd Add MSG_LOAD_ALL and replace it a two loactions -10bytes flash 2022-09-17 16:36:09 +02:00
Guðni Már Gilbert 25a7dc8397 Fix: Filament Already Loaded only has two buttons 2022-09-17 16:36:09 +02:00
Guðni Már Gilbert 15a8c8fe37 Fix: Unload Manually did not send any button to the MMU 2022-09-17 16:36:09 +02:00
Guðni Már Gilbert 9b4a621275 Fix: Fsensor errors only have one reset button 2022-09-17 16:36:09 +02:00
Guðni Már Gilbert 037d51b049 Fix: Filament Already Loaded only has two buttons 2022-09-17 12:21:42 +02:00
Guðni Már Gilbert 3b60b894da Fix: Unload Manually did not send any button to the MMU 2022-09-17 12:21:42 +02:00
Guðni Már Gilbert e7b7d97f11 Fix: Fsensor errors only have one reset button 2022-09-17 12:21:42 +02:00
Guðni Már Gilbert be7c1d55c8 Remove redundant for-loop
Now that lcd_status_message is now initialised correctly at boot-up,
this for-loop is no longer required. Now lcd_status_message is
only set in lcd_updatestatus() which always calls lcd_finishstatus()

lcd_finishstatus() makes sure the message does not exceed 20 characters

Saves 34 bytes of flash
2022-09-17 09:13:07 +00:00
Guðni Már Gilbert 4d6d267aef Don't initialise lcd status message in definition
static variables are automatically zero initialised. Now that the
status line message is initialised in ultralcd_init(), we don't
need to set the variable in global scope.

Saves 22 bytes of flash and 1 byte of SRAM
2022-09-17 08:57:30 +00:00
Guðni Már Gilbert f1e127ace4 Initialise status line message in setup()
Fixes #3581
2022-09-17 08:53:36 +00:00
3d-gussner 404c622301 Finish German translation
increase 2nd langusge size to 0x3500 13567bytes to fit mmu2 translations 🤞
2022-09-17 10:35:30 +02:00
3d-gussner ec22e5faeb Shorten message to 20 chars
add 01234567890123456789 ruler
2022-09-17 10:34:24 +02:00
3d-gussner 6e8a1d88f2 Add current size of translation if it fails
disable translation suggestions by default during build, as we have lot of identical translated messages as the origin.
2022-09-17 10:32:24 +02:00
3d-gussner 539cdbfeea Lower MSG_ rows 2022-09-17 08:48:56 +02:00
3d-gussner 4bbae51912 Add --shorter check 2022-09-17 08:48:27 +02:00
3d-gussner 78fdf33f67 Update Firmware.pot and Firmware_de.po
Started German translation Part 1
Updated c= r= for German translations being longer than 8 rows
2022-09-16 20:42:50 +02:00
3d-gussner 8480c1cb7a Added //#define FARM_CONNECT_MESSAGE 2022-09-16 19:33:22 +02:00
3d-gussner 88b58cdcd5 Update messages missing c= r=
Change MMU2 KEEPALIVE_STATE to IN_PROCESS
2022-09-16 19:24:11 +02:00
3d-gussner f4f09e4062 update mmu2 messages c= r= values 2022-09-16 19:18:23 +02:00
3d-gussner 0f8d84082a Update button menu documentation as there are 1/2/3 options 2022-09-16 19:11:11 +02:00
3d-gussner 9d959f5d12 Prepare progress messages for translation
Remove duplicate messages
2022-09-16 19:08:06 +02:00
3d-gussner 89a03c1f0d MMU2/lang: Update translatable strings to match our extraction macros 2022-09-16 19:02:04 +02:00
3d-gussner 50b6044703 Use origin message on serial 2022-09-16 18:17:50 +02:00