klipper/klippy/extras
Kamil Trzciński 46f51b2bb0
print_stats: add `cancelled` when `CANCEL_PRINT` used (#4366)
Before this change, a `CANCEL_PRINT` set a `print_stats` to `paused`
that would later be workaround-ed with `fluidd`/`mainsail` to re-define
`CANCEL_PRINT`.

This sets a proper canceled state, but additionally closes a file
from a `virtual_sdcard` context for `canceled`/`error`, as this is no longer
resumable from this point.

Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
2021-06-14 15:09:55 -04:00
..
display menu: Fixed typo when reading `print_stats.state` (#4261) 2021-05-06 11:54:27 -04:00
__init__.py
ad5206.py
adc_scaled.py
adc_temperature.py
adxl345.py adxl345: Use "clock" suffix instead of "time" in commands 2021-04-30 11:40:37 -04:00
bed_mesh.py bed_mesh: implement BED_MESH_OFFSET 2021-06-08 00:02:35 -04:00
bed_screws.py
bed_tilt.py
bltouch.py probe: Call add_stepper() earlier in boot process 2021-06-09 18:58:35 -04:00
bme280.py
board_pins.py
bus.py
buttons.py
canbus_ids.py
controller_fan.py
delayed_gcode.py
delta_calibrate.py stepper: Remove set_tag_position() code 2021-05-29 21:54:34 -04:00
display_status.py
dotstar.py neopixel: add sync parameter to prevent waking toolhead (#4339) 2021-06-02 10:51:45 -04:00
ds18b20.py
endstop_phase.py endstop_phase: Unify phase conversion code 2021-06-06 20:41:27 -04:00
extruder_stepper.py stepper: Do not set min_stop_interval in micro-controller 2021-04-30 11:09:08 -04:00
fan.py
fan_generic.py
filament_motion_sensor.py filament_motion_sensor: add get_status (#4281) 2021-05-11 13:17:22 -04:00
filament_switch_sensor.py
firmware_retraction.py gcode: Update gcode descriptions (#4335) 2021-06-02 10:45:27 -04:00
force_move.py
gcode_arcs.py
gcode_button.py
gcode_macro.py gcode_macro: add description property (#4317) 2021-05-26 14:21:21 -04:00
gcode_move.py gcode: Update gcode descriptions (#4335) 2021-06-02 10:45:27 -04:00
hall_filament_width_sensor.py
heater_bed.py
heater_fan.py
heater_generic.py
heaters.py
homing.py homing: Check for failures during multi-endstop homing 2021-06-09 18:58:35 -04:00
homing_heaters.py
homing_override.py
htu21d.py
idle_timeout.py
input_shaper.py
lm75.py
manual_probe.py stepper: Remove set_tag_position() code 2021-05-29 21:54:34 -04:00
manual_stepper.py stepper: Do not set min_stop_interval in micro-controller 2021-04-30 11:09:08 -04:00
mcp4018.py
mcp4451.py
mcp4728.py
multi_pin.py
neopixel.py neopixel: add sync parameter to prevent waking toolhead (#4339) 2021-06-02 10:51:45 -04:00
output_pin.py
palette2.py
pause_resume.py print_stats: add `cancelled` when `CANCEL_PRINT` used (#4366) 2021-06-14 15:09:55 -04:00
pca9533.py
pid_calibrate.py
print_stats.py print_stats: add `cancelled` when `CANCEL_PRINT` used (#4366) 2021-06-14 15:09:55 -04:00
probe.py probe: Call add_stepper() earlier in boot process 2021-06-09 18:58:35 -04:00
pulse_counter.py pulse_counter: Use "clock" suffix instead of "time" in commands 2021-04-30 11:40:37 -04:00
quad_gantry_level.py z_tilt: expose an 'applied' status to allow macros to skip QGL/Z_TILT_ADJUST (#4313) 2021-06-02 11:11:19 -04:00
query_adc.py
query_endstops.py
replicape.py
resonance_tester.py resonance_tester: Set max_accel ignoring the limit from the config (#4174) 2021-06-06 13:04:53 -04:00
respond.py gcode: Update gcode descriptions (#4335) 2021-06-02 10:45:27 -04:00
safe_z_home.py safe_z_home: Simplify logic and fix edge case 2021-05-26 12:57:31 -04:00
samd_sercom.py
save_variables.py
screws_tilt_adjust.py
sdcard_loop.py loop_sdcard: Add loopable SD card file sections 2021-05-26 11:57:57 -04:00
servo.py
shaper_calibrate.py
skew_correction.py
spi_temperature.py
static_digital_output.py
statistics.py
stepper_enable.py
sx1509.py
temperature_fan.py
temperature_host.py
temperature_mcu.py
temperature_sensor.py
thermistor.py
tmc.py
tmc2130.py
tmc2208.py
tmc2209.py
tmc2660.py
tmc5160.py
tmc_uart.py
tsl1401cl_filament_width_sensor.py
tuning_tower.py
verify_heater.py
virtual_sdcard.py print_stats: add `cancelled` when `CANCEL_PRINT` used (#4366) 2021-06-14 15:09:55 -04:00
z_tilt.py z_tilt: expose an 'applied' status to allow macros to skip QGL/Z_TILT_ADJUST (#4313) 2021-06-02 11:11:19 -04:00