mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-10 08:07:46 -04:00
Code review suggestions
This commit is contained in:
parent
be1a0fa6d6
commit
3df445fdb0
2 changed files with 3 additions and 3 deletions
|
@ -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. */
|
/* Unused parameters. */
|
||||||
( void ) parameters;
|
( void ) parameters;
|
||||||
|
|
|
@ -105,7 +105,7 @@ extern void vPortYield( void );
|
||||||
#define portYIELD() vPortYield()
|
#define portYIELD() vPortYield()
|
||||||
|
|
||||||
/* Task function macros as described on the FreeRTOS.org WEB site. */
|
/* 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 )
|
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void * pvParameters )
|
||||||
|
|
||||||
#if ( configNUMBER_OF_CORES > 1 )
|
#if ( configNUMBER_OF_CORES > 1 )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue