Skip to content

Commit 3c4cb04

Browse files
committed
adjust cardreader filter to show BMP files
1 parent 9e09d81 commit 3c4cb04

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Marlin/src/sd/cardreader.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,12 @@ bool CardReader::is_visible_entity(const dir_t &p OPTARG(CUSTOM_FIRMWARE_UPLOAD,
227227
|| fileIsBinary() // BIN files are accepted
228228
|| (!onlyBin && p.name[8] == 'G'
229229
&& p.name[9] != '~') // Non-backup *.G* files are accepted
230+
// PATCH START: KNUTWURST
231+
#if ENABLED(KNUTWURST_MEGA_P)
232+
|| (!onlyBin && p.name[8] == 'B' // Bitmap files for Anycubic laser engraving on Mega Pro.
233+
&& p.name[9] != '~')
234+
#endif
235+
// PATCH ENDT: KNUTWURST
230236
);
231237
}
232238

0 commit comments

Comments
 (0)