Skip to content

Compiler warning: 'uint32_t _task_micros()' defined but not used #133

Closed
@numericOverflow

Description

@numericOverflow

When using this library using Visual Studio Code, the compiler throws a warning about one of the functions:

Compiling .pio\build\nodemcuv2\src\main.master.cpp.o In file included from src\main.master.cpp:117: .pio\libdeps\nodemcuv2\TaskScheduler\src/TaskScheduler.h:280:17: warning: 'uint32_t _task_micros()' defined but not used [-Wunused-function] 280 | static uint32_t _task_micros() {return micros();} | ^~~~~~~~~~~~

2021-12-31_112549

It looks like there's a PR to fix, can you look into fixing this issue?

I'm using the latest TaskScheduler lib version as of today (v3.6.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions