Skip to content

Commit

Permalink
Merge branch 'main' into update-pxcurrentTCB
Browse files Browse the repository at this point in the history
  • Loading branch information
chinglee-iot authored May 20, 2024
2 parents edfa323 + 0801c91 commit 5e2227f
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 203 deletions.
6 changes: 4 additions & 2 deletions examples/cmake_example/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

/*-----------------------------------------------------------*/

static void exampleTask( void * parameters );
static void exampleTask( void * parameters ) __attribute__( ( noreturn ) );

/*-----------------------------------------------------------*/

Expand All @@ -62,7 +62,7 @@ static void exampleTask( void * parameters )
}
/*-----------------------------------------------------------*/

void main( void )
int main( void )
{
static StaticTask_t exampleTaskTCB;
static StackType_t exampleTaskStack[ configMINIMAL_STACK_SIZE ];
Expand All @@ -84,6 +84,8 @@ void main( void )
{
/* Should not reach here. */
}

return 0;
}
/*-----------------------------------------------------------*/

Expand Down
Loading

0 comments on commit 5e2227f

Please sign in to comment.