Closed classicrocker883 closed 11 months ago
I used CODEGPT and it suggested this fix
void clear() {
this->name[0] = '\0';
this->thumbstart = 0;
this->thumbsize = 0;
this->thumbheight = this->thumbwidth = 0;
this->time = 0;
this->filament = 0;
this->layer = 0;
this->height = this->width = this->length = 0;
}
I since tested and this works.
I'll post a PR.
@ellensp yes that fix also works, which is probably even better.
so no your first comment without this->
works fine, the second with void setname
can remain no change
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
after the recent commit https://github.com/MarlinFirmware/Marlin/commit/8fa6a4da2eebc1dbe120dcac87b159e389e17dc3
where gcode_preview files for PROUI were changed, I get this error
Bug Timeline
new, after commit 8fa6a4d
Expected behavior
should compile successful
Actual behavior
error during compile
Steps to Reproduce
DWIN_LCD_PROUI
HAS_GCODE_PREVIEW 1
Version of Marlin Firmware
bugfix-2.1.x
Printer model
No response
Electronics
No response
Add-ons
No response
Bed Leveling
None
Your Slicer
None
Host Software
None
Don't forget to include
Configuration.h
andConfiguration_adv.h
.Additional information & file uploads
No response