Remove portALIGNMENT_ASSERT_pxCurrentTCB() macro, which serves no purpose.

This commit is contained in:
Richard Barry 2013-06-25 13:39:50 +00:00
parent 6cbbfd2eb5
commit a7c47131fa
12 changed files with 4 additions and 49 deletions

View file

@ -157,11 +157,6 @@ extern void vPortClearInterruptMask( unsigned long ulNewMask );
#define portCLEAR_INTERRUPT_MASK_FROM_ISR(x) vPortClearInterruptMask( x )
/*-----------------------------------------------------------*/
/* There are an uneven number of items on the initial stack, so
portALIGNMENT_ASSERT_pxCurrentTCB() will trigger false positive asserts. */
#define portALIGNMENT_ASSERT_pxCurrentTCB ( void )
/*-----------------------------------------------------------*/
/* Tickless idle/low power functionality. */
#ifndef portSUPPRESS_TICKS_AND_SLEEP
extern void vPortSuppressTicksAndSleep( portTickType xExpectedIdleTime );

View file

@ -167,9 +167,6 @@ void vPortSetIPL( unsigned long ulNewIPL );
#define portTASK_FUNCTION_PROTO( vFunction, pvParameters ) void vFunction( void *pvParameters )
#define portTASK_FUNCTION( vFunction, pvParameters ) void vFunction( void *pvParameters )
/* This macro is not appropriate for this port so is defined away. */
#define portALIGNMENT_ASSERT_pxCurrentTCB( x )
#ifdef __cplusplus
}
#endif