mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-06 13:15:19 -05:00
Allow dynamic heap_4 size by removing size from extern declaration
This commit is contained in:
parent
13074875c2
commit
8d4af769a1
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@
|
||||||
|
|
||||||
/* The application writer has already defined the array used for the RTOS
|
/* The application writer has already defined the array used for the RTOS
|
||||||
* heap - probably so it can be placed in a special segment or address. */
|
* heap - probably so it can be placed in a special segment or address. */
|
||||||
extern uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
|
extern uint8_t ucHeap[ ];
|
||||||
#else
|
#else
|
||||||
PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
|
PRIVILEGED_DATA static uint8_t ucHeap[ configTOTAL_HEAP_SIZE ];
|
||||||
#endif /* configAPPLICATION_ALLOCATED_HEAP */
|
#endif /* configAPPLICATION_ALLOCATED_HEAP */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue