Skip to content

[BUG] Compiler Warning in tlc_util.cpp #28019

@fnsign

Description

@fnsign

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

Yes, and the problem still exists.

Bug Description

I receive a compiler warning in tic_util.cpp:
'uint32_t get_pwm_scale(TMC2208Stepper&)' defined but not used [-Wunused-function]

Bug Timeline

This warning appears now for several months

Expected behavior

No warning after compilation

Actual behavior

No response

Steps to Reproduce

Compile in VSCode

Version of Marlin Firmware

Bugfix 2.1.x

Printer model

Ender 3

Electronics

BTT SKR mini E3 v1.x

LCD/Controller

LCD

Other add-ons

No response

Bed Leveling

ABL Bilinear mesh

Your Slicer

Prusa Slicer

Host Software

OctoPrint

Don't forget to include

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

Additional information & file uploads

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