Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
BUGFIXES:
@bigtreetech: As you can understand, I'm very tired and not going to waste other time in the future for fixing something that was perfectly working and not needing any rework (no bug reported in years), especially when the code was originally made by me. I'm sure this takes away useless time also to you for managing/reviewing unneeded/useless PRs. For any other bug introduced by some contributors affected by an outstanding ego I will simply revert entirely to previous code. I will also avoid to provide specific details about the code logic and the fixed bugs just to avoid to tease the extraordinary fancy such as the soap opera (a never ending story) reported in #2776 (e.g. infoMachineSettings.firmwareType == FW_MARLIN here, infoMachineSettings.firmwareType != FW_REPRAPFW immediately after, the 10th broken rework of the VFS API (that is properly and perfectly working), the restore of broken strncpy versions (with fantasy names and a new "smart" coding style based on logical(/bit operators such as "n -= !!n")) causing wrong navigation on print file selection, the 100th rework of fan/heat/speed/extrude and so on). Thank you for your understanding.
fixes #2782
PR STATE: Ready for merge