Closed classicrocker883 closed 4 months ago
Please attach your configuration files.
I believe I have traced this to lcd/marlinui.h line ~514
the newer version:
template<typename... Args>
static void status_printf(int8_t level, FSTR_P const ffmt, Args... more) { status_printf_P(level, FTOP(ffmt), more...); }
an older version which didn't show the "error-type"
static void status_printf(int8_t level, FSTR_P const fmt, ...);
edit:
this is why it is showing "error-type"
void status_printf<Args...>(int8_t level, const FSTR_P ffmt, Args ...more)
removing the TERN_
actually got rid of the "error-type", maybe it will fix the random message popping up??
removing the TERN_ actually got rid of the "error-type", maybe it will fix the random message popping up??
How’d the test go?
removing the TERN_ actually got rid of the "error-type", maybe it will fix the random message popping up??
How’d the test go?
I haven't actually delved into this issue. it wasn't easy recreating the message for a benchmark. it could have come and gone for any other reason. I haven't had it pop up since, but what remains is the "error-type" in the status_printf
. however that doesn't appear to cause an actual issue...maybe??
I wonder would changing the following have any benefit, perhaps such a complicated code it causes the issue "behind the scenes" ....
- ui.status_printf(0,
- F(S_FMT GANG_N_1(NUM_AXES, " %c") " %c"),
GET_TEXT(MSG_LCD_ENDSTOPS),
NUM_AXIS_LIST_(chrX, chrY, chrZ, chrI, chrJ, chrK, chrU, chrV, chrW) chrP
);
+ FTOP(S_FMT GANG_N_1(NUM_AXES, " %c") " %c"),
+ FPSTR(S_FMT GANG_N_1(NUM_AXES, " %c") " %c"),
+ ui.status_printf_P(0,
the above code isn't verbatim, just as an example to replace F
with FTOP
or FPSTR
, if with FTOP
, then this must be ui.status_printf_P
or what about something like this?
ui.set_status_and_level(MString<30>(F(S_FMT GANG_N_1(NUM_AXES, " %c") " %c"), GET_TEXT_F(MSG_LCD_ENDSTOPS),NUM_AXIS_LIST_(chrX, chrY, chrZ, chrI, chrJ, chrK, chrU, chrV, chrW) chrP));
Greetings from the Marlin AutoBot!
This issue has had no activity for the last 90 days.
Do you still see this issue with the latest bugfix-2.1.x
code?
Please add a reply within 14 days or this issue will be automatically closed.
To keep a confirmed issue open we can also add a "Bug: Confirmed" tag.
Disclaimer: This is an open community project with lots of activity and limited resources. The main project contributors will do a bug sweep ahead of the next release, but any skilled member of the community may jump in at any time to fix this issue. That can take a while depending on our busy lives so please be patient, and take advantage of other resources such as the MarlinFirmware Discord to help solve the issue.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Did you test the latest
bugfix-2.1.x
code?Yes, and the problem still exists.
Bug Description
Not sure exactly how it came about, I'll try to reproduce it.
So out of nowhere I get a status message on the printers LCD display saying "Endstops chrP" - (it had many spaces inbetween)
I traced it to module/endstops.cpp line ~351
as you can see there is some sort of error popping up.
Bug Timeline
possibly old
Expected behavior
I'm guessing this should not have popped up??
Actual behavior
Popped up randomly
Steps to Reproduce
but seeing the "error-type" in VSCode when hovering over the function in question made me submit this.
Version of Marlin Firmware
bugfix-2.1.x
Printer model
Voxelab Aquila
Electronics
G32 mainboard
Add-ons
No response
Bed Leveling
UBL Bilinear mesh
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
No response Marlin_Config.zip