Yuri D'Elia
048628083a
Remove clear_current_adv_vars()
...
The pressure state is already reset implicitly at the end of each block,
meaning an extruder switch will never have to reset the internal state
anyway.
We clear the internal backpressure in the following conditions:
- when switching to a non-LA block
- when quickStop is called
- when the scheduler is idling (losing pressure)
2019-06-05 20:25:19 +02:00
Yuri D'Elia
7d33089d9a
Remove use_advance_lead
...
The per-step state is kept implicitly using nextAdvanceISR,
while the current pressure is decoupled anyway.
2019-06-05 20:25:12 +02:00
Yuri D'Elia
dc436b71fe
Fix position_float after a quickStop condition
2019-06-05 20:25:05 +02:00
Yuri D'Elia
fa454f61e4
Drop unused "speed_lookup_table.h" from planner.cpp
2019-06-05 20:24:58 +02:00
Marek Bel
19351df8a7
Extracted computation of z_shift for M600 into a separate function to
...
improve readability. Surprisingly, also the code got shorter.
2019-06-05 18:34:26 +02:00
Marek Bel
9c3bb14bae
remove function forward decl: fsensor_restore_print_and_continue_IR
...
revert LCD_BL_PIN change
2019-06-05 18:34:10 +02:00
DRracer
aeed49a80e
Fix filament runout on optical filament sensors
...
Reworked the IR variant accordingly
Some code-size optimization in related functions
2019-06-05 18:33:41 +02:00
DRracer
10247a28a3
Merge pull request #1896 from NotaRobotexe/power_panic
...
documentation for power panic
2019-06-05 16:10:04 +02:00
NotaRobotexe
14270ac1f6
power panic documentation
2019-06-05 15:10:51 +02:00
NotaRobotexe
d263728c37
documentation
2019-06-05 14:55:59 +02:00
DRracer
33b2aa5e58
Merge pull request #1894 from NotaRobotexe/power_panic
...
Power panic Z axis fix
2019-06-05 13:34:21 +02:00
NotaRobotexe
2c4e98dc27
power panic improvement
2019-06-05 13:12:08 +02:00
Yuri D'Elia
cda9ed4a1d
Reset LA state more carefully during stop conditions
2019-06-04 16:22:40 +02:00
Yuri D'Elia
1bed8cfa94
Don't call fsensor_st_next_block repeatedly during the last step
...
Rely on st_block_begin to perform a single call instead of calling
block_chunk for each advance tick in the last step
2019-06-04 16:22:33 +02:00
Yuri D'Elia
8ce1c04740
Remove useless "extruder under pressure" flag
...
That's exactly what LA does
2019-06-04 16:22:27 +02:00
Yuri D'Elia
bca5618145
Save/restore K during a power panic
2019-06-03 17:33:19 +02:00
Yuri D'Elia
84009e1e8e
Do a full fsensor_update() when initializing the sensor
...
This correctly populates the "extruder info" details even when
the menu is entered for the first time after starting a print.
2019-06-03 17:32:57 +02:00
Yuri D'Elia
fa7c0fb2c9
Avoid triggering LA during a Z-priming move
...
When recovering from a pause, the nozzle is often primed while
being lowered. If LA is triggered under such a move, the pressure
advance will be wasted.
2019-06-03 17:32:51 +02:00
Yuri D'Elia
d2432056bd
Elide fsensor_st_block_begin, saving some cycles/bytes
2019-06-03 17:32:43 +02:00
DRracer
5985c0608e
Revert changes to pins_Einsy_1_0.h not related to the fan check error
...
fix
2019-06-03 09:02:27 +02:00
Yuri D'Elia
5cd0177389
Cleanup fsensor_st_block_begin
2019-06-02 18:17:59 +02:00
Yuri D'Elia
b4bf79297f
Remove unneeded includes from fsensor
2019-06-02 01:08:03 +02:00
Yuri D'Elia
c50b1c0351
Rework the filament counter logic
...
- Move direction checks out of fsensor: fsensor_counter is now
always in the same direction as e_steps
- Check the filament chunk after e_steps have been physically done,
using the real e_step count so far
2019-06-01 22:08:00 +02:00
DRracer
09fee4e64d
remove fan error simulation automaton
2019-05-31 11:30:30 +02:00
DRracer
6755791778
Fix repeated fan error checking
2019-05-31 11:29:11 +02:00
DRracer
adb5baa12b
Merge remote-tracking branch 'upstream/MK3' into MK3
2019-05-31 11:05:24 +02:00
DRracer
ebfad55617
Merge pull request #1888 from mkbel/always_cut_independent
...
Always cut independent
2019-05-31 07:00:37 +02:00
DRracer
e05e4be89b
Merge pull request #1887 from mkbel/fix_cut_menu
...
Fix cut filament menu item labels.
2019-05-31 06:56:17 +02:00
Marek Bel
00da4640e2
Document.
2019-05-30 23:29:33 +02:00
Marek Bel
e79c203c96
Do not always cut if it is not enabled from menu.
2019-05-30 23:04:06 +02:00
Marek Bel
ccb649b1f6
Add always cut experimental / for testing feature.
2019-05-30 23:03:59 +02:00
Marek Bel
18122049a6
Fix cut filament menu item labels.
2019-05-30 19:36:10 +02:00
Voinea
878e866401
Fix Load Filament 5 for MMU2
2019-05-30 17:28:02 +03:00
NotaRobotexe
e9c870e7a0
fix of fixof power panic
2019-05-29 20:33:22 +02:00
DRracer
1c619133a3
Merge pull request #1880 from NotaRobotexe/power_panic
...
PFW-828 add uvlo tiny z positio back
2019-05-28 14:29:13 +02:00
NotaRobotexe
bcb6129c29
delete comment
2019-05-28 14:11:38 +02:00
NotaRobotexe
8842d16832
add back uvlo tiny z positio
2019-05-28 13:50:21 +02:00
DRracer
326c061d8c
testing pin 5
2019-05-27 18:27:24 +02:00
DRracer
2f96badef4
Merge pull request #1870 from NotaRobotexe/power_panic
...
PFW-828 after power panic printer start print in the air
2019-05-27 17:13:08 +02:00
Marek Běl
9c3b93f900
Merge pull request #1869 from DRracer/fix_mintemp_and_fsensor
...
Fix MINTEMP errors and fsensor runout
2019-05-27 16:32:22 +02:00
DRracer
253087a4c5
Code cleanup
2019-05-27 16:18:21 +02:00
DRracer
4d020d99f6
Code cleanup
2019-05-27 14:57:02 +02:00
Yuri D'Elia
51d6904dad
Multiply the step rate when grouping advance steps
2019-05-27 14:44:09 +02:00
NotaRobotexe
f070a10904
edit
2019-05-27 10:10:24 +02:00
Yuri D'Elia
a742afcebd
Remove version check
2019-05-26 22:43:06 +02:00
Yuri D'Elia
4772532524
Allow Live-K to be used on stock 3.7.1 using a stub
2019-05-26 22:14:31 +02:00
Yuri D'Elia
47d2562510
Typos
2019-05-26 21:06:29 +02:00
Yuri D'Elia
823f7b069c
Fix filament sensor direction again
2019-05-26 21:06:22 +02:00
Yuri D'Elia
9d834925c0
Recalculate LA_phase correctly
2019-05-26 17:06:21 +02:00
Yuri D'Elia
3abb2188df
Fixup initial error by defect
2019-05-26 16:59:45 +02:00