summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared/bootcard.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/shared/bootcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c
index bbd4b9f149..939a2069fa 100644
--- a/c/src/lib/libbsp/shared/bootcard.c
+++ b/c/src/lib/libbsp/shared/bootcard.c
@@ -84,7 +84,7 @@ static void bootcard_bsp_libc_helper(
)
{
if ( heap_start == BSP_BOOTCARD_HEAP_USES_WORK_AREA ) {
- if ( rtems_unified_work_area ) {
+ if ( ! rtems_unified_work_area ) {
uintptr_t work_space_size = rtems_configuration_get_work_space_size();
heap_start = (char *) work_area_start + work_space_size;