Skip to content

async-mqtt-client compiled and linked in when WLED_DISABLE_MQTT is set #4648

Open
@rhkean

Description

@rhkean

What happened?

I just noticed that the async-mqtt-client is compiled and linked into the bin even when the WLED_DISABLE_MQTT flag is set.

by deleting the entire folder from the src/dependencies folder, the bin file is 3.2k smaller

To Reproduce Bug

add -D WLED_DISABLE_MQTT flag to platformio.ini file
build the project
notice that the async-mqtt-client is still listed as being compile and linked

delete the async-mqtt-client folder from the src/dependencies folder
see that the bin is 3200 bytes smaller

Expected Behavior

async-mqtt-client is not linked and/or included in the .bin file

Install Method

Self-Compiled

What version of WLED?

WLED 0.15.1.beta2

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions