[WIP] Clean up and port MEGA P laser feature from TFT #540

Draft
stklcode wants to merge 2 commits from stklcode/feature/anycubic-laser into master
5 changed files with 487 additions and 146 deletions
Showing only changes of commit 084dfb249a - Show all commits

View File

@@ -233,6 +233,12 @@ bool CardReader::is_visible_entity(const dir_t &p OPTARG(CUSTOM_FIRMWARE_UPLOAD,
|| fileIsBinary() // BIN files are accepted
|| (!onlyBin && p.name[8] == 'G'
&& p.name[9] != '~') // Non-backup *.G* files are accepted
// PATCH START: KNUTWURST
#if ENABLED(KNUTWURST_MEGA_P)
|| (!onlyBin && p.name[8] == 'B' // Bitmap files for Anycubic laser engraving on Mega Pro.
&& p.name[9] != '~')
#endif
// PATCH ENDT: KNUTWURST
);
}