From 33262dd0e11ff9da72779a9616097c049be65508 Mon Sep 17 00:00:00 2001 From: richardbarry Date: Tue, 21 Jul 2009 17:33:02 +0000 Subject: [PATCH] Supply default setting for configUSE_MALLOC_FAILED_HOOK. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@821 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- Source/include/FreeRTOS.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/include/FreeRTOS.h b/Source/include/FreeRTOS.h index 8a74882df..4a813406a 100644 --- a/Source/include/FreeRTOS.h +++ b/Source/include/FreeRTOS.h @@ -390,5 +390,9 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * ); #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS() #endif +#ifndef configUSE_MALLOC_FAILED_HOOK + #define configUSE_MALLOC_FAILED_HOOK 0 +#endif + #endif /* INC_FREERTOS_H */ -- 2.39.5