virtual_sdcard: add file_path and file_size to status
This provides a comprehensive information if currently we have a file loaded. Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
This commit is contained in:
committed by
KevinOConnor
parent
478f26cab6
commit
f1091a484b
@@ -165,7 +165,7 @@ name: SD Card
|
||||
|
||||
[menu __main __sdcard __start]
|
||||
type: command
|
||||
enable: {('virtual_sdcard' in printer) and (printer.print_stats.state == "standby" or printer.print_stats.state == "error" or printer.print_stats.state == "complete")}
|
||||
enable: {('virtual_sdcard' in printer) and printer.virtual_sdcard.file_path}
|
||||
name: Start printing
|
||||
gcode: M24
|
||||
|
||||
|
||||
Reference in New Issue
Block a user