Prusa-Firmware/Firmware
Yuri D'Elia 5f23474c95 Raise Z while preheating when auto/[un]loading the filament
Preheating already raised Z to avoid scorching the PEI sheet, as does
filament loading/unloading to allow for excess material to be removed.

However, when loading/autoloading/unloading via the LCD with a cold
nozzle the preheating menu is performed before the carriage is raised,
leaving the carriage close to the sheet while heating the nozzle.

Pre-raise the carriage already while waiting, so that the subsequent
move is automagically skipped.

Set bFilamentWaitingFlag only once to perform both the LCD
initialization and raising to the appropriate height.

Should fix #2761
2020-10-28 20:49:28 +01:00
..
variants Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
adc.c IR sensor gen. II 2019-09-16 00:43:37 +02:00
adc.h Fix ADC index overflow 2018-07-17 17:55:04 +02:00
AutoDeplete.cpp Comment. 2019-01-04 19:56:15 +01:00
AutoDeplete.h Add filament auto deplete engine for multi-material prints with MMUv2. 2019-01-03 22:58:25 +01:00
backlight.cpp Add newline at the end of file 2020-09-15 14:56:41 +02:00
backlight.h General fixes and improvements to code 2019-10-31 19:07:20 +02:00
BlinkM.cpp
BlinkM.h
boards.h
bootapp.c Reboot after factory reset 2020-08-12 12:46:35 +03:00
bootapp.h New lang, arduino 1.8.5 - boot_app debug output 2018-10-18 16:20:14 +02:00
cardreader.cpp SD card released message 2020-08-28 17:32:07 +03:00
cardreader.h Use combined creation/modification file time stamps for sorting 2020-02-14 09:09:15 +01:00
cmdqueue.cpp Fix kill messages 2019-11-29 22:49:22 +02:00
cmdqueue.h Fix repeated power panic restarted print from beginning or jumped at most 65536 B back in file printed from SD card. 2019-08-23 19:30:20 +02:00
config.h Merge pull request #2520 from MRprusa3d/PFW-x001bPR 2020-03-26 17:36:18 +01:00
Configuration.cpp some improvements 2019-07-10 16:29:40 +02:00
Configuration.h Version changed (3.9.1 build 3518) 2020-09-18 16:59:22 +02:00
Configuration_adv.h Merge branch 'MK3_M115_Capabilities_report' into MK3_AUTO_REPORT_TEMPERATURES 2020-09-15 13:39:00 +03:00
ConfigurationStore.cpp Fixup prefix echomagic for the LA config report 2019-05-24 17:08:32 +02:00
ConfigurationStore.h Adding the microstepping resolution for all axis to the eprom config which is persisted during M500 for Mk3 and Mk3S 2019-03-19 21:39:59 +00:00
conv2str.cpp LCD menu optimalization - conversion functions - source separation 2018-07-16 17:23:35 +02:00
conv2str.h LCD menu optimalization - conversion functions - source separation 2018-07-16 17:23:35 +02:00
Dcodes.cpp Fix compile error 2020-08-12 17:25:49 +03:00
Dcodes.h Bugfix for last PR 2020-04-07 11:22:48 +02:00
doxyfile Updated doxygen docs to work better with confluence. 2019-07-19 13:51:55 +02:00
eeprom.cpp EEPROM_BABYSTEP_Z using removal 2019-10-01 16:57:37 +02:00
eeprom.h Update ALTFAN eeprom documentation 2020-08-20 15:14:39 +02:00
fastio.h Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
Firmware.ino LCD menu optimalization - LiquidCrystal_Prusa removed 2018-07-16 23:23:15 +02:00
first_lay_cal.cpp Rename lay1cal_preheat() to lay1cal_wait_preheat(). 2019-09-12 00:19:20 +02:00
first_lay_cal.h Rename lay1cal_preheat() to lay1cal_wait_preheat(). 2019-09-12 00:19:20 +02:00
fsensor.cpp Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
fsensor.h MK3s IR sensor improvement (#2698) 2020-06-03 16:14:56 +02:00
heatbed_pwm.cpp Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
la10compat.cpp Re-adjust LA10->15 conversion 2020-09-07 21:44:34 +02:00
la10compat.h Adjust E-jerk in LA10 compatibility mode 2020-02-03 15:42:27 +01:00
language.c Macros initial 2020-09-11 16:12:49 +03:00
language.h Macros initial 2020-09-11 16:12:49 +03:00
lcd.cpp fix the knob long-press causing hang in modal dialogs 2019-10-01 17:13:36 +02:00
lcd.h Merge branch 'MK3' into MK3_Translations 2019-09-12 16:28:36 +03:00
le.sh make all shell scripts executable 2018-12-10 07:09:03 -07:00
macros.h More macros 2020-09-11 18:48:44 +03:00
Marlin.h Macros initial 2020-09-11 16:12:49 +03:00
Marlin_main.cpp Document M155 command 2020-09-23 09:14:35 +03:00
MarlinSerial.cpp Optimized LiquidCrystal class 2018-06-08 14:35:47 +02:00
MarlinSerial.h More than 7.5KB saved by slight refactoring of printing to serial line 2019-07-12 10:10:56 +02:00
menu.cpp Menu view return patch 2020-09-07 19:42:53 +03:00
menu.h Fix Live K, allow "Advance K" to be translated 2019-12-05 15:18:24 +01:00
mesh_bed_calibration.cpp Code size optimization: 2KB down (#2687) 2020-06-01 17:51:28 +02:00
mesh_bed_calibration.h Mesh by 3d-gussner, fixed difference between mbl points coordinates and coordinates used in planner for corrections, mbl settings menu update 2019-03-14 01:52:44 +01:00
mesh_bed_leveling.cpp 7x7 points mesh bed leveling 2019-02-14 10:57:58 +02:00
mesh_bed_leveling.h
messages.c corectino of declaration 2020-10-13 16:56:57 +02:00
messages.h Update messages.h 2020-10-21 17:04:20 +02:00
mmu.cpp Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
mmu.h Show FINDA state as N/A if last received response is older than 1s. 2019-10-31 17:45:22 +01:00
motion_control.cpp
motion_control.h
optiboot_w25x20cl.cpp Handle second serial port correctly 2020-05-27 17:40:14 +03:00
optiboot_w25x20cl.h Fix missing start on MK3/S 2020-05-27 09:44:28 +03:00
pat9125.c Return correct status from pat9125_update_bs 2020-02-06 16:39:08 +01:00
pat9125.h FS: Improve reliability on speeds with poor optical tracking 2020-02-06 15:27:22 +01:00
pins.h Fix compiler warnings macro redefined. 2019-03-05 15:56:20 +01:00
pins_Einsy_1_0.h Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
pins_Rambo_1_0.h MK2.5 IR_SENSOR_PIN modified 2019-02-11 14:32:21 +01:00
pins_Rambo_1_3.h debug gcodes (fans, bed analysis) moved to Dcodes, HOST_KEEPALIVE_FEATURE simplified 2019-03-06 19:56:48 +01:00
planner.cpp Merge pull request #2792 from wavexx/MK3_fix_high_speed_deceleration 2020-08-06 13:27:52 +02:00
planner.h Also convert acceleration_rate to uint32_t 2020-08-03 19:01:38 +02:00
printers.h Remove commented out defines. 2019-07-10 17:40:33 +02:00
qr_solve.cpp
qr_solve.h
rbuf.c T-codes for MMU_V2: initial version 2018-07-09 13:57:36 +02:00
rbuf.h T-codes for MMU_V2: initial version 2018-07-09 13:57:36 +02:00
Sd2Card.cpp reinitialize the timestamp to ensure enough time to receive response for 0xFF sent. 2019-08-11 17:57:41 -04:00
Sd2Card.h Fix for Toshiba FlashAir (or other) SD card initialization - add clock cycles between sending CMD0 and CMD8. Redone for MK3 branch) 2019-08-08 15:45:59 -04:00
Sd2PinMap.h
SdBaseFile.cpp Support for more special characters allowed in file names (^ + = [ ] ; 2019-08-27 13:47:58 +02:00
SdBaseFile.h
SdFatConfig.h
SdFatStructs.h
SdFatUtil.cpp Fix compiler warning: sketch/SdFatUtil.cpp:49:7: warning: unused variable 'i' [-Wunused-variable] 2018-07-25 15:19:10 +02:00
SdFatUtil.h
SdFile.cpp
SdFile.h Optimized LiquidCrystal class 2018-06-08 14:35:47 +02:00
SdInfo.h
SdVolume.cpp
SdVolume.h
Servo.cpp
Servo.h
sm4.c Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500 2018-10-08 15:58:49 +02:00
sm4.h
sound.cpp General fixes and improvements to code 2019-10-31 19:07:20 +02:00
sound.h Toggle Sound 2019-08-31 16:56:14 +03:00
speed_lookuptable.cpp Move speed lookup defs into a separate source 2019-05-24 17:08:32 +02:00
speed_lookuptable.h Add reference C implementations for MultiU16X8toH16/MultiU24X24toH16 2020-08-03 19:03:13 +02:00
spi.c
spi.h New ML support - W25X20CL external spi flash support 2018-06-08 00:20:28 +02:00
static_assert.h static_assert - portable solution compatible with C++98 2018-09-27 19:59:29 +02:00
stepper.cpp Merge pull request #2792 from wavexx/MK3_fix_high_speed_deceleration 2020-08-06 13:27:52 +02:00
stepper.h Move reset LA state from G80 to M84 2020-04-29 22:51:23 +02:00
stk500.h Added support for a secondary boot loader, based on the OptiBoot project, 2018-06-14 15:13:21 +02:00
swi2c.c Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
swi2c.h SWI2C for PAT9125 simplified/optimized 2018-07-12 17:55:38 +02:00
swspi.cpp
swspi.h
system_timer.h ALTFAN implementation (#2692) 2020-06-01 17:58:15 +02:00
temperature.cpp Merge pull request #2809 from leptun/PFW-1134-ALTFAN_KILLSWITCH 2020-08-20 15:42:03 +02:00
temperature.h ALTFAN override 2020-07-20 19:35:25 +03:00
thermistortables.h Implement MIN/MAX AMBIENT safety checks 2020-08-01 17:38:10 +02:00
Timer.cpp Fix Timer_test broken by conditional translation for SYSTEM_TIMER_2. 2019-01-28 19:29:31 +01:00
Timer.h Store timer period in TimerRemaining. 2018-06-11 23:41:36 +02:00
timer02.c Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
timer02.h Re-enable Tone 2019-07-30 16:05:40 +03:00
TimerRemaining.h Fix Timer_test broken by conditional translation for SYSTEM_TIMER_2. 2019-01-28 19:29:31 +01:00
tmc2130.cpp ♻️Code optimization 2020-04-02 14:44:44 +03:00
tmc2130.h Fix compiler warnings 2019-07-16 17:31:56 +02:00
tone04.c Macros initial 2020-09-11 16:12:49 +03:00
tone04.h ALTFAN implementation (#2692) 2020-06-01 17:58:15 +02:00
uart2.c Macros initial 2020-09-11 16:12:49 +03:00
uart2.h MMU - communication, check after start, code cleaning 2018-08-07 20:37:59 +02:00
ultralcd.cpp Raise Z while preheating when auto/[un]loading the filament 2020-10-28 20:49:28 +01:00
ultralcd.h Merge pull request #2784 from leptun/PFW-1134-ALTFAN_KILLSWITCH 2020-08-06 08:15:42 +02:00
uni_avr_rpi.h Revert "Revert "Save 80B of flash and 8B of RAM and fix compiler warning:"" 2018-07-23 13:35:38 +02:00
util.cpp default nozzle diameter for farm mode 2019-09-23 17:13:33 +02:00
util.h default nozzle diameter for farm mode 2019-09-23 17:13:33 +02:00
vector_3.cpp
vector_3.h
w25x20cl.c Remove io_atmega2560.h and some more macros 2020-09-11 17:43:38 +03:00
w25x20cl.h Added support for a secondary boot loader, based on the OptiBoot project, 2018-06-14 15:13:21 +02:00
xyzcal.cpp Conditional translation for SYSTEM_TIMER_2 because we want to have posibility to switch between old/new implementation. 2019-01-27 22:48:51 +01:00
xyzcal.h