From: richardbarry Date: Tue, 21 Jul 2009 17:33:02 +0000 (+0000) Subject: Supply default setting for configUSE_MALLOC_FAILED_HOOK. X-Git-Tag: V5.4.1~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33262dd0e11ff9da72779a9616097c049be65508;p=freertos 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 --- 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 */