mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2026-04-05 22:47:00 +00:00
fixing cppcheck in timer
This commit is contained in:
parent
088df6dd6a
commit
f0f2c0b538
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue