We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix-2.1.x
Yes, and the problem still exists.
Sending an M20 or M20 F (with CUSTOM_FIRMWARE_UPLOAD enabled) does not result in *.bin files being listed.
M20
M20 F
CUSTOM_FIRMWARE_UPLOAD
Most likely #23878
*.bin files to be listed when appropriate from M20 and M20 F
No *.bin files listed.
Bugfix-2.1.x 2022-06-11
Ender 3 Pro
v4.2.7 board, CR10_STOCKDISPLAY
No response
UBL Bilinear mesh
Other (explain below)
OctoPrint
Configuration.h
Configuration_adv.h
ender3pro.zip
Looking at cardreader.h, fileisBinary and setBinFlag are no-ops unless DO_LIST_BIN_FILES is defined.
fileisBinary
setBinFlag
DO_LIST_BIN_FILES
static bool fileIsBinary() { return TERN0(DO_LIST_BIN_FILES, flag.filenameIsBin); } static void setBinFlag(const bool bin) { TERN(DO_LIST_BIN_FILES, flag.filenameIsBin = bin, UNUSED(bin)); }
DO_LIST_BIN_FILES is defined in Conditionals_LCD.h:
#if ENABLED(DWIN_LCD_PROUI) #define DO_LIST_BIN_FILES 1 #endif
So, fileIsBinary always returns 0. 👎
fileIsBinary
The text was updated successfully, but these errors were encountered:
As a quick test: chucking a #define DO_LIST_BIN_FILES 1 at the end of Configuration_adv.h causes the bin files to be listed properly.
#define DO_LIST_BIN_FILES 1
Also, this causes them to be listed in the Print From Media LCD menu. I'm not sure if that's intended or not.
Sorry, something went wrong.
No branches or pull requests
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Sending an
M20
orM20 F
(withCUSTOM_FIRMWARE_UPLOAD
enabled) does not result in *.bin files being listed.Bug Timeline
Most likely #23878
Expected behavior
*.bin files to be listed when appropriate from
M20
andM20 F
Actual behavior
No *.bin files listed.
Steps to Reproduce
M20 F
Version of Marlin Firmware
Bugfix-2.1.x 2022-06-11
Printer model
Ender 3 Pro
Electronics
v4.2.7 board, CR10_STOCKDISPLAY
Add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
Other (explain below)
Host Software
OctoPrint
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
ender3pro.zip
Looking at cardreader.h,
fileisBinary
andsetBinFlag
are no-ops unlessDO_LIST_BIN_FILES
is defined.DO_LIST_BIN_FILES
is defined in Conditionals_LCD.h:So,
fileIsBinary
always returns 0. 👎The text was updated successfully, but these errors were encountered: