Skip to content

Commit 084dfb2

Browse files
committed
adjust cardreader filter to show BMP files
1 parent cd49052 commit 084dfb2

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
@@ -233,6 +233,12 @@ bool CardReader::is_visible_entity(const dir_t &p OPTARG(CUSTOM_FIRMWARE_UPLOAD,
233233
|| fileIsBinary() // BIN files are accepted
234234
|| (!onlyBin && p.name[8] == 'G'
235235
&& p.name[9] != '~') // Non-backup *.G* files are accepted
236+
// PATCH START: KNUTWURST
237+
#if ENABLED(KNUTWURST_MEGA_P)
238+
|| (!onlyBin && p.name[8] == 'B' // Bitmap files for Anycubic laser engraving on Mega Pro.
239+
&& p.name[9] != '~')
240+
#endif
241+
// PATCH ENDT: KNUTWURST
236242
);
237243
}
238244

0 commit comments

Comments
 (0)