diff --git a/common/src/lx_nor_flash_block_reclaim.c b/common/src/lx_nor_flash_block_reclaim.c index eea676d..f121f56 100644 --- a/common/src/lx_nor_flash_block_reclaim.c +++ b/common/src/lx_nor_flash_block_reclaim.c @@ -445,7 +445,7 @@ UINT status; _lx_nor_flash_system_error(nor_flash, LX_SYSTEM_ALLOCATION_FAILED); /* Return the error. */ - return(status); + return(LX_SYSTEM_ALLOCATION_FAILED); } /* Decrement the number of mapped sectors. */