Skip to content

[BUG] TOUCH_IDLE_SLEEP_MINS does not work with TFT_COLOR_UI #24702

@spasecookee

Description

@spasecookee

Did you test the latest bugfix-2.1.x code?

Yes, and the problem still exists.

Bug Description

In Marlin 2.0.9 it is possible to use TFT_COLOR_UI, with a generic TFT (FSMC), TOUCH_SCREEN and a value for TOUCH_IDLE_SLEEP. In 2.1.1, this combination causes an error when Linking:

Marlin\src\lcd/marlinui.cpp:1183: undefined reference to `MarlinUI::sleep_display(bool)'

If TFT_CLASSIC_UI is used, there is no linking error, but it should also work with TFT_COLOR_UI.

Bug Timeline

This is a newer issue

Expected behavior

I expect linking should succeed.

Actual behavior

Linking fails with Marlin\src\lcd/marlinui.cpp:1183: undefined reference to `MarlinUI::sleep_display(bool)'

Steps to Reproduce

In Configuration.h, set BOARD_CHITU3D_V6
Set SERIAL_PORT 1
Set TFT_GENERIC
Set TFT_DRIVER ILI9488
Set TFT_INTERFACE_FSMC
Set TFT_RES_480x320
Set TFT_COLOR_UI
Set TOUCH_SCREEN
Set TOUCH_IDLE_SLEEP_MINS 5
MarlinConfig.zip

Version of Marlin Firmware

2.1.1

Printer model

nj

Electronics

No response

Add-ons

No response

Bed Leveling

No response

Your Slicer

No response

Host Software

No response

Don't forget to include

  • A ZIP file containing your Configuration.h and Configuration_adv.h.

Additional information & file uploads

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions