use longest_filename() for SD card files instead of longFilename #398
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/393-sd-filenames"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The long filename is not always filled, so files like "test.gco" may not be shown in the file list. Use the built-in fallback to the longest name available to overcome that issue and print the 8.3 name if no other is available.
Requirements
Issue was reported on a printer with DGUS2-clone display, but it should work on every supported display.
Benefits
Filenames with no long name present should be output on the display again,
(tested on a Mega P)
Configurations
No special config required.
Related Issues
#393
cc @wes1993 @leonel85
Could you test the proposed solution on your printers to see, if we need to do additional filename trickery here?
I can provide you with hex files if necessary, just tell me which target you need.
@stklcode
I will compile by myself because I have my own configuration.
I will test this night
Thank's