* fix issues related to 8dot3 filenames used in M23 command, #39 
* switch to auto reporting temp and sd status
This commit is contained in:
jneilliii
2024-08-18 01:06:57 -04:00
committed by GitHub
parent 01c6cacf15
commit cd4103cc71
4 changed files with 35 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class IdleState(APrinterState):
# URL to print. Root path, protocol can vary. E.g., if sd card, "ftp:///myfile.3mf", "ftp:///cache/myotherfile.3mf"
filesystem_root = (
"file:///mnt/sdcard/"
if self._printer._settings.get_boolean(["device_type"]) in ["X1", "X1C"]
if self._printer._settings.get(["device_type"]) in ["X1", "X1C"]
else "file:///"
)