Code review suggestions

This commit is contained in:
kar-rahul-aws 2024-05-16 16:34:04 +05:30
parent be1a0fa6d6
commit 3df445fdb0
2 changed files with 3 additions and 3 deletions

View file

@ -45,11 +45,11 @@
/*-----------------------------------------------------------*/
static _Noreturn void exampleTask( void * parameters );
static void exampleTask( void * parameters ) __attribute__( ( noreturn ) );
/*-----------------------------------------------------------*/
static _Noreturn void exampleTask( void * parameters )
static void exampleTask( void * parameters )
{
/* Unused parameters. */
( void ) parameters;

View file

@ -105,7 +105,7 @@ extern void vPortYield( void );
#define portYIELD() vPortYield()
/* Task function macros as described on the FreeRTOS.org WEB site. */
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) __attribute__( ( noreturn ) ) void vFunction( void * pvParameters )
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void * pvParameters ) __attribute__( ( noreturn ) )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
#if ( configNUMBER_OF_CORES > 1 )