Yuri D'Elia
942c38c18b
Minor reformatting
2019-05-24 17:08:32 +02:00
Yuri D'Elia
9586d71adb
Mention LA_DEBUG_LOGIC
2019-05-24 17:08:32 +02:00
Yuri D'Elia
a1be8b6784
Initialize current_adv_steps correctly
...
Initialize at 0 both on startup and on reset on regular (non-LA)
segments to avoid cumulating errors.
2019-05-24 17:08:32 +02:00
Yuri D'Elia
707849e6c4
Use a define instead of hard-coding a divider
2019-05-24 17:08:32 +02:00
Yuri D'Elia
a2fa8e5313
Rewrite the advance_isr scheduler
2019-05-24 17:08:32 +02:00
Yuri D'Elia
2d3fe3197c
Move calc_timer into speed_lookup_table for planner reuse
2019-05-24 17:08:32 +02:00
Yuri D'Elia
9425b6b07a
Planner: do not recalculate max_adv_steps, since it doesn't change
2019-05-24 17:08:32 +02:00
Yuri D'Elia
2c8e04bd5f
Planner: use the correct block when updating LA factors
2019-05-24 17:08:32 +02:00
Yuri D'Elia
3b528196dd
Fixup prefix echomagic for the LA config report
2019-05-24 17:08:32 +02:00
Yuri D'Elia
520cb491b2
Move speed lookup defs into a separate source
2019-05-24 17:08:32 +02:00
Yuri D'Elia
ebdc5e35e7
Remove two more OCR1A direct manipulations
...
Use _NEXT_ISR and st_reset_timer to correctly reinitialize and
re-schedule the advance ticks.
2019-05-24 17:08:32 +02:00
Yuri D'Elia
cbf1a85ec3
Switch original LA implementation with LA1.5
...
This discards several Prusa optimizations for LA1.0.
We'll re-implement those later if needed.
Debugging is turned on.
2019-05-24 17:08:32 +02:00
Yuri D'Elia
bf0c60dd45
Factor-out some repetition into fsensor_step
2019-05-24 17:08:32 +02:00
Yuri D'Elia
124540a06f
Adapt LA changes to ConfigurationStore
2019-05-24 17:08:32 +02:00
Yuri D'Elia
45563bfdd3
Formatting sanity
2019-05-24 17:08:32 +02:00
Yuri D'Elia
eeea2725cb
Partial LA15 support
2019-05-24 17:08:32 +02:00
DRracer
098c0979ba
Merge pull request #1848 from MRprusa3d/PFW-853
...
recovery from "Stop()"
2019-05-24 09:54:07 +02:00
DRracer
a84d4cedb8
Merge pull request #1866 from NotaRobotexe/check_fw
...
Check firmware version. Add support only for MK3/MK3S
2019-05-24 09:49:40 +02:00
NotaRobotexe
1399d7dcc8
support only for MK3/MK3S
2019-05-23 15:22:31 +02:00
Marek Běl
df02030fe0
Merge pull request #1863 from DRracer/lcd20190523
...
Fix. menu texts and formatting - issues PFW-877 and PFW-879
2019-05-23 14:31:51 +02:00
Marek Běl
e6b79e6696
Merge pull request #1856 from ondratu/pause_print_on_funcheck_fix
...
pause printer by flag
2019-05-23 13:48:58 +02:00
Ondrej Tuma
63235625ab
pause printer by flag
2019-05-23 13:13:11 +02:00
DRracer
e17f3f8405
change language files accordingly
2019-05-23 11:14:26 +02:00
DRracer
da98977de3
Fix. menu texts and formatting - issues PFW-877 and PFW-879
2019-05-23 10:45:55 +02:00
MRprusa3d
a408f90659
recovery from "Stop()"
2019-05-18 21:28:59 +02:00
Marek Běl
7ff50e966d
Merge pull request #1843 from DRracer/MK3
...
Save 236B by improving functions in menu.cpp
2019-05-16 17:33:25 +02:00
Marek Bel
15ba17f110
Fix translator columns hint for Adjusting Z:
2019-05-16 17:30:15 +02:00
Marek Bel
74d8c15b4f
Fix documentation.
2019-05-16 17:23:54 +02:00
Marek Bel
dcfc6348ed
Fix documentation.
2019-05-16 17:22:47 +02:00
DRracer
a453c6fc9d
Save 236B by improving functions in menu.cpp. Beware - the label now has
...
to come with a ':' as its last character. Changed language files along
with this commit too.
2019-05-16 16:43:44 +02:00
Marek Běl
8bc4952f10
Merge pull request #1839 from mkbel/rise_z
...
Raise Z axis while loading filament on MMU2
2019-05-15 17:35:38 +02:00
Marek Běl
e0fb5b0e34
Merge pull request #1838 from RakNoel/patch-1
...
Windows subsystem CRLF issues fix
2019-05-15 16:59:32 +02:00
Marek Bel
dad2065da6
Merge branch 'MK3' into rise_z
2019-05-15 16:37:17 +02:00
Marek Bel
1f3877b221
Extract duplicate code into function. Saves 4B of flash.
2019-05-15 16:31:10 +02:00
Oskar Leirvåg
464d33fa9a
Windows subsystem CRLF issues fix
...
Add extra tip to linux sbsystem, where users get the error "$'\r': command not found" where windows uses CRLF and linux uses only LF
2019-05-15 16:00:16 +02:00
Marek Běl
fbc0c260b1
Merge pull request #1826 from ondratu/selftest_wizard
...
Selftest fan improvements
2019-05-15 13:43:48 +02:00
Ondřej Tůma
04ac259938
Merge pull request #1835 from mkbel/fix_compiler_warning
...
Fix compiler warnings
2019-05-15 10:32:52 +02:00
Ondrej Tuma
ebfc8c1c79
Fan autotest for swapping in Selftest
2019-05-15 10:10:46 +02:00
Ondrej Tuma
c851e158cc
Manual fan check menu have default (selected) option
2019-05-15 10:10:46 +02:00
Marek Bel
1a78bd53ba
Fix compiler warning
...
sketch/Marlin_main.cpp: In function 'void marlin_wait_for_click()':
sketch/Marlin_main.cpp:9646:12: warning: unused variable 'busy_state_backup' [-Wunused-variable]
2019-05-14 19:11:46 +02:00
Marek Bel
91e72a79f0
Fix compiler warning
...
sketch/Marlin_main.cpp:871:13: warning: unused variable 'ir_detected' [-Wunused-variable]
2019-05-14 19:07:50 +02:00
Marek Bel
acfcd59369
Fix compiler warning:
...
sketch/menu.cpp: In function 'int menu_draw_item_puts_P(char, const char*, char)':
sketch/menu.cpp:184:1: warning: no return statement in function returning non-void [-Wreturn-type]
2019-05-14 18:32:40 +02:00
Marek Bel
89fc9e7f92
sketch/menu.h:90:115: warning: invalid conversion from 'void (*)(int)' to 'void (*)(uint8_t) {aka void (*)(unsigned char)}' [-fpermissive]
...
#define MENU_ITEM_FUNCTION_NR_P(str, number, func, fn_par) do { if (menu_item_function_P(str, number, func, fn_par)) return; } while (0)
^
sketch/ultralcd.cpp:5926:5: note: in expansion of macro 'MENU_ITEM_FUNCTION_NR_P'
MENU_ITEM_FUNCTION_NR_P(_T(MSG_LOAD_FILAMENT), '1', extr_adj, 0); ////MSG_LOAD_FILAMENT_1 c=16
2019-05-14 18:25:43 +02:00
Marek Bel
ec1a979656
Enable compiler warnings.
2019-05-14 18:16:53 +02:00
Marek Běl
a095b37088
Merge pull request #1832 from mkbel/refactor_filament_menu
...
Refactor filament menu
2019-05-14 17:18:37 +02:00
Marek Bel
66d20f0297
Fix code formatting (indentation).
2019-05-14 16:45:15 +02:00
Marek Bel
4de93ca19c
Fix eject filament menu items numbering.
2019-05-14 16:43:33 +02:00
Marek Bel
150787efbd
Generate menu item texts Cut filament <nr.> during runtime to conserve flash.
2019-05-14 16:25:29 +02:00
Marek Bel
6495a8fa58
Decrease flash reserved for secondary language.
2019-05-14 16:10:04 +02:00
Marek Bel
7c4f66181f
Generate menu item texts Load filament <nr.> and Eject filament <nr.> during runtime to conserve flash.
2019-05-14 15:47:25 +02:00