X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Femul%2Ftimer_posix.c;fp=bertos%2Femul%2Ftimer_posix.c;h=70990a21afd551fb828c436a85381a4d6b0cc425;hb=a25f7626b143d85d6a146b95ae61baee1ed4d84b;hp=d54c61205c33c73c5b78ce2915eb80b2f280ae96;hpb=049904b385eb53310e0d7fc0e681edf65b0d632d;p=bertos.git diff --git a/bertos/emul/timer_posix.c b/bertos/emul/timer_posix.c index d54c6120..70990a21 100644 --- a/bertos/emul/timer_posix.c +++ b/bertos/emul/timer_posix.c @@ -82,6 +82,7 @@ static void timer_hw_cleanup(void) { 0, 0 } /* it_value */ }; setitimer(ITIMER_REAL, &itv, NULL); + signal(SIGALRM, SIG_DFL); } INLINE hptime_t timer_hw_hpread(void)