posix: fix one-time timer for SIGEV_SIGNAL
For SIGEV_SIGNAL, the function zephyr_timer_wrapper() is the handler between kernel and posix layer. Here, for one-time timer, reload is equal to 0 and function returns. As a consequence, handler function was never called. Signed-off-by: Noemie Gillet <ngillet@sequans.com>
This commit is contained in:
parent
37784442f8
commit
a214ddb2c9
1 changed files with 0 additions and 1 deletions
|
@ -43,7 +43,6 @@ static void zephyr_timer_wrapper(struct k_timer *ztimer)
|
|||
if (timer->reload == 0U) {
|
||||
timer->status = NOT_ACTIVE;
|
||||
LOG_DBG("timer %p not active", timer);
|
||||
return;
|
||||
}
|
||||
|
||||
if (timer->evp.sigev_notify == SIGEV_NONE) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue