Moved the definitions of pvPortMallocAligned() and pvPortFreeAligned() to freertos.h.

This commit is contained in:
Richard Barry 2010-01-17 14:22:55 +00:00
parent ebffeb7ae4
commit 8dd9c7dfd9
2 changed files with 0 additions and 5 deletions

View File

@ -110,7 +110,4 @@ to exclude the API function. */
#define configKERNEL_INTERRUPT_PRIORITY ( ( unsigned char ) 7 << configUNUSED_PRIO_BITS ) /* Priority 7, or 255 as only the top three bits are implemented. This is the lowest priority. */
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( ( unsigned char ) 5 << configUNUSED_PRIO_BITS ) /* Priority 5, or 160 as only the top three bits are implemented. */
#define pvPortMallocAligned( x, puxStackBuffer ) ( ( puxStackBuffer == NULL ) ? ( pvPortMalloc( x ) ) : ( puxStackBuffer ) )
#define vPortFreeAligned( x ) ( void ) x
#endif /* FREERTOS_CONFIG_H */

View File

@ -116,7 +116,5 @@ to exclude the API function. */
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( 5 << (8 - configPRIO_BITS) )
#define pvPortMallocAligned( x, puxStackBuffer ) ( ( puxStackBuffer == NULL ) ? ( pvPortMalloc( x ) ) : ( puxStackBuffer ) )
#define vPortFreeAligned( x ) ( void ) x
#endif /* FREERTOS_CONFIG_H */