You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/10/23 06:29:00 UTC

[incubator-nuttx-apps] 05/07: Revert "examples/timer_gpio: fix initialization of timer notification"

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch revert-1377-minor_fixes
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit d433b6ab981f0329aa08548c08db6d730ec88855
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Sun Oct 23 09:28:49 2022 +0300

    Revert "examples/timer_gpio: fix initialization of timer notification"
    
    This reverts commit e431abe2ed58b22818eecaa2ccde7e7d466ad4cb.
---
 examples/timer_gpio/timer_gpio_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/examples/timer_gpio/timer_gpio_main.c b/examples/timer_gpio/timer_gpio_main.c
index 315963aa2..a38e5acb1 100644
--- a/examples/timer_gpio/timer_gpio_main.c
+++ b/examples/timer_gpio/timer_gpio_main.c
@@ -182,7 +182,6 @@ static int timer_gpio_daemon(int argc, char *argv[])
   notify.event.sigev_notify = SIGEV_SIGNAL;
   notify.event.sigev_signo  = CONFIG_EXAMPLES_TIMER_GPIO_SIGNO;
   notify.event.sigev_value.sival_ptr = NULL;
-  notify.oneshot = false;
 
   ret = ioctl(fd_timer, TCIOC_NOTIFICATION,
               (unsigned long)((uintptr_t)&notify));