Merged isRunning changes into callback changes branch

This commit is contained in:
dario 2023-09-27 12:19:56 +02:00
commit e843de9103
2 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ namespace sta
/**
* @returns True of the timmer is currently running.
*/
bool isRunning();
bool isRunning() override;
private:
static void timeoutHandler(void* arg);

View File

@ -62,8 +62,8 @@ namespace sta {
bool RtosTimer::isRunning()
{
return running_;
}
return osTimerIsRunning(timer_id_);
}
void RtosTimer::timeoutHandler(void* arg)
{