diff --git a/lib/System/Timer.cpp b/lib/System/Timer.cpp index ebd17f6..4fb9e9f 100644 --- a/lib/System/Timer.cpp +++ b/lib/System/Timer.cpp @@ -13,10 +13,12 @@ uint32_t Timer::getTriggerTimeInSec() const { return (_nextTimeout - millis()) / 1000; } +// cppcheck-suppress unusedFunction bool Timer::isActive() const { return _nextTimeout != 0; } +// cppcheck-suppress unusedFunction void Timer::reset() { _nextTimeout = 0; } diff --git a/src/Task.h b/src/Task.h index b9a1f12..4c8163b 100644 --- a/src/Task.h +++ b/src/Task.h @@ -14,8 +14,6 @@ enum TaskNames TaskSize, }; -// char const * const getTaskName(TaskNames task); - #define TASK_APRS_IS "AprsIsTask" #define TASK_ETH "EthTask" #define TASK_FTP "FTPTask"