Prusa-Firmware/Firmware
Yuri D'Elia dbe2ed4150 Fix pause/resume when using M25/M601
Remove the conflicting and mostly useless card.paused flag (the printing
is either paused, or not) and switch to isPrintPaused only which
accounts for both cases (SD/USB) correctly.

Fix M27/getStatus to show the current real status of the SD print.

Synchronize the queue on M601, as required to precisely pause the print
at the correct instruction.

Alias M25 to M601, which when combined with PR #1899 fixes issue #1614.

Guard against incorrect usage in M601, M602 and M603.
2019-11-28 17:37:58 +01:00
..
variants Merge branch 'MK3' into MK3_Translations 2019-09-12 16:28:36 +03: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
BlinkM.cpp Build 109 2017-11-16 22:03:36 +01:00
BlinkM.h Build 109 2017-11-16 22:03:36 +01:00
boards.h MK3 configuration files, renamed EINY to EINSY 2018-02-01 17:10:41 +01:00
bootapp.c New lang, arduino 1.8.5 - boot_app debug output 2018-10-18 16:20:14 +02:00
bootapp.h New lang, arduino 1.8.5 - boot_app debug output 2018-10-18 16:20:14 +02:00
cardreader.cpp Fix pause/resume when using M25/M601 2019-11-28 17:37:58 +01:00
cardreader.h Fix pause/resume when using M25/M601 2019-11-28 17:37:58 +01:00
cmdqueue.cpp Clear "sdprinting" state only when all SD moves are complete 2019-11-28 15:57:20 +01: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 branch 'MK3' into PFW-943 2019-09-16 15:29:28 +02:00
Configuration_adv.h Merge branch 'MK3' into MK3_Translations 2019-09-12 16:28:36 +03:00
Configuration.cpp some improvements 2019-07-10 16:29:40 +02:00
Configuration.h Merge pull request #1768 from wavexx/unknown_z_improvements 2019-11-08 14:52:56 +01:00
ConfigurationStore.cpp 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
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 MK2.5 - watchdog enabled + test (command "D-1") 2019-04-29 13:19:59 +02:00
Dcodes.h Merge branch 'MK25' into MK3 2018-03-13 20:43:19 +01: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 Halve memory usage of saved feedrate 2019-11-28 17:16:37 +01:00
fastio.h WRITE_NC macro for non-critical (non-synchronized) access to 2018-01-12 20:15:59 +01: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 Fix M600 insertion by the filament sensor 2019-11-28 17:13:37 +01:00
fsensor.h Fix M600 insertion by the filament sensor 2019-11-28 17:13:37 +01:00
heatbed_pwm.cpp Improve performance of bed PWM automaton - proof of concept 2019-08-14 17:53:08 +02:00
io_atmega2560.h "disable_z()" for Delta PSU II 2019-03-25 23:28:25 +01:00
language.c Fix warning: assignment makes pointer from integer without a cast. 2019-03-05 16:27:47 +01:00
language.h New lang - fixed french langcode and comparsion in lang-clean script 2018-10-25 18:16:36 +02: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
Marlin_main.cpp Fix pause/resume when using M25/M601 2019-11-28 17:37:58 +01:00
Marlin.h Fix pause/resume when using M25/M601 2019-11-28 17:37:58 +01: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 Merge branch 'MK3' into MK3_Translations 2019-11-07 17:02:45 +02:00
menu.h Fixes after merge and line buffer 2019-09-13 21:21:42 +03:00
mesh_bed_calibration.cpp Code size reduced by almost 5KB 2019-08-21 09:59:51 +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 3.0.6 sync 2016-08-11 10:42:53 +02:00
messages.c Updated branch to use TOGGLE 2019-11-19 13:51:10 +02:00
messages.h Updated branch to use TOGGLE 2019-11-19 13:51:10 +02:00
mmu.cpp Fix M600 insertion by the filament sensor 2019-11-28 17:13:37 +01: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 3.0.6 sync 2016-08-11 10:42:53 +02:00
motion_control.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
optiboot_w25x20cl.cpp Do not kill printer if External SPI flash W25X20CL is not responding. 2019-04-16 22:20:53 +02:00
optiboot_w25x20cl.h Added support for a secondary boot loader, based on the OptiBoot project, 2018-06-14 15:13:21 +02:00
pat9125.c Fix compiler warning arduino-1.6.9/hardware/tools/avr/avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to <util/delay.h>." [-Wcpp] 2018-07-23 18:12:08 +02:00
pat9125.h PAT9125 optimalization (rewrited to C, 8bit sampling) 2018-07-12 18:11:07 +02:00
pins_Einsy_1_0.h IR sensor gen. II 2019-09-16 00:43:37 +02: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
pins.h Fix compiler warnings macro redefined. 2019-03-05 15:56:20 +01:00
planner.cpp Save/restore the default feedrate correctly 2019-11-28 17:16:37 +01:00
planner.h Halve memory usage of saved feedrate 2019-11-28 17:16:37 +01:00
printers.h Remove commented out defines. 2019-07-10 17:40:33 +02:00
qr_solve.cpp 3.0.6 sync 2016-08-11 10:42:53 +02:00
qr_solve.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
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 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
Sd2Card.h 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
Sd2PinMap.h 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
SdBaseFile.cpp Support for more special characters allowed in file names (^ + = [ ] ; 2019-08-27 13:47:58 +02:00
SdBaseFile.h 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
SdFatConfig.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
SdFatStructs.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
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 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
SdFile.cpp 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
SdFile.h Optimized LiquidCrystal class 2018-06-08 14:35:47 +02:00
SdInfo.h 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
SdVolume.cpp 3.0.12-RC2 sync 2017-06-29 18:35:43 +02:00
SdVolume.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
Servo.cpp 3.0.6 sync 2016-08-11 10:42:53 +02:00
Servo.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
sm4.c Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500 2018-10-08 15:58:49 +02:00
sm4.h New XYZ calibration with image processing 2018-03-13 12:55:35 +01:00
sound.cpp blind alert sound shorter 2019-08-05 12:41:27 +02:00
sound.h Toggle Sound 2019-08-31 16:56:14 +03:00
speed_lookuptable.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
spi.c New SPI (do not use Arduino SPI class) 2018-03-29 17:42:41 +02:00
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 Initialize EEPROM_SILENT in one place both for MK3 and MK25 printers and make it more clear. 2019-10-03 21:25:52 +02:00
stepper.h Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500 2018-10-08 15:58:49 +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 Fix compiler warning arduino-1.6.9/hardware/tools/avr/avr/include/avr/delay.h:36:2: warning: #warning "This file has been moved to <util/delay.h>." [-Wcpp] 2018-07-23 13:47:15 +02:00
swi2c.h SWI2C for PAT9125 simplified/optimized 2018-07-12 17:55:38 +02:00
swspi.cpp PAT9125 I2C, hardware SG homing 2017-08-17 15:23:34 +02:00
swspi.h PAT9125 I2C, hardware SG homing 2017-08-17 15:23:34 +02:00
system_timer.h heatbed audible noise suppression using short fast PWM pulses with 2019-07-08 16:42:21 +02:00
temperature.cpp Merge branch 'MK3' into PFW-943 2019-11-18 14:43:46 +01:00
temperature.h Merge branch 'MK3' into PFW-943 2019-11-18 14:43:46 +01:00
thermistortables.h New ML support - menu tunning, startup 2018-06-10 16:04:32 +02:00
timer02.c Improve performance of bed PWM automaton - proof of concept 2019-08-14 17:53:08 +02:00
timer02.h heatbed audible noise suppression using short fast PWM pulses with 2019-07-08 16:42:21 +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
TimerRemaining.h Fix Timer_test broken by conditional translation for SYSTEM_TIMER_2. 2019-01-28 19:29:31 +01:00
tmc2130.cpp Merge pull request #2057 from leptun/MK3_fix_M350 2019-11-08 16:15:15 +01:00
tmc2130.h Fix compiler warnings 2019-07-16 17:31:56 +02:00
uart2.c Merge remote-tracking branch 'prusa3d/MK3_dev' into simplify_EEPROM_M500 2018-10-08 15:58:49 +02:00
uart2.h MMU - communication, check after start, code cleaning 2018-08-07 20:37:59 +02:00
ultralcd.cpp Fix pause/resume when using M25/M601 2019-11-28 17:37:58 +01:00
ultralcd.h Merge branch 'MK3' into PFW-943 2019-11-18 14:43:46 +01: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 3.0.6 sync 2016-08-11 10:42:53 +02:00
vector_3.h 3.0.6 sync 2016-08-11 10:42:53 +02:00
w25x20cl.c Added support for a secondary boot loader, based on the OptiBoot project, 2018-06-14 15:13:21 +02: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 XYZ calibration - accuracy improvement 2018-03-27 17:27:41 +02:00