Skip to content
New issue

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

[BUG] Ender 5 Plus configuration.h or code problem #491

Closed
Poporacer opened this issue May 15, 2021 · 1 comment
Closed

[BUG] Ender 5 Plus configuration.h or code problem #491

Poporacer opened this issue May 15, 2021 · 1 comment

Comments

@Poporacer
Copy link

Bug Description

Configuration Files

Required: Include a ZIP file containing Configuration.h and Configuration_adv.h.

If you've made any other modifications describe them in detail here.

Steps to Reproduce

  1. Download ver 2.0.8 and config folder from MarlinFirmware/Configurations
  2. Unzip files
  3. Replace configuration.h and configuration_adv.h in the Marlin folder with the ones from the Configurations-release-2.08/config/examples/creality/Ender-5 Plus folder.
  4. Open the folder in VS Code (with Marlin Auto Build installed)
  5. Compile project

Expected behavior:

The firmware to compile correctly

Actual behavior:
The build fails with an error stating:
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp: In static member function 'static void DGUSScreenHandler::DGUSLCD_SD_ResumePauseAbort(DGUS_VP_Variable&, void*)':
Marlin\src\lcd\extui\lib\dgus\origin\DGUSScreenHandler.cpp:88:20: error: 'MKSLCD_SCREEN_PAUSE' was not declared in this scope

Additional Information

MKSLCD_SCREEN_PAUSE is declared in the src\lcd\ectui\lib\dgus\mks\DGUSDisplayDef.h file but that file is only included if you have DGUS_LCD_UI_MKS defined in the configuration.h file

In the Ender-5 Plus configuration.h file, it has #define DGUS_LCD_UI_ORIGIN as the LCD Screen
I would think that the DGUS_LCD_UI_ORIGIN would be the correct LCD for a stock Ender-5 Plus, if so, then I think the reference to MKSLCD_SCREEN_PAUSE is not correct?

@ellensp
Copy link
Contributor

ellensp commented May 15, 2021

Duplicate of MarlinFirmware/Marlin#21576

@ellensp ellensp marked this as a duplicate of MarlinFirmware/Marlin#21576 May 15, 2021
@ellensp ellensp closed this as completed May 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants