Skip to content

Commit

Permalink
Remove error
Browse files Browse the repository at this point in the history
  • Loading branch information
moninom1 committed Jul 25, 2023
1 parent cfd4c73 commit 51df109
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions portable/ThirdParty/GCC/Posix/port.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void vPortEndScheduler( void )
( void ) setitimer( ITIMER_REAL, &itimer, NULL );

sigtick.sa_flags = 0;
sigtick.sa_handler = SIG_IGN;
//sigtick.sa_handler = SIG_IGN;
sigemptyset( &sigtick.sa_mask );
sigaction( SIGALRM, &sigtick, NULL );

Expand Down Expand Up @@ -570,9 +570,9 @@ static void prvSetupSignalsAndSchedulerPolicy( void )
( void ) pthread_sigmask( SIG_SETMASK,
&xAllSignals,
&xSchedulerOriginalSignalMask );

( void ) vPortSystemTickHandler;
sigtick.sa_flags = 0;
sigtick.sa_handler = vPortSystemTickHandler;
// sigtick.sa_handler = vPortSystemTickHandler;
sigfillset( &sigtick.sa_mask );

iRet = sigaction( SIGALRM, &sigtick, NULL );
Expand Down

0 comments on commit 51df109

Please sign in to comment.