]> git.sur5r.net Git - freertos/commitdiff
Supply default setting for configUSE_MALLOC_FAILED_HOOK.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Jul 2009 17:33:02 +0000 (17:33 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Tue, 21 Jul 2009 17:33:02 +0000 (17:33 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@821 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Source/include/FreeRTOS.h

index 8a74882dfd5f0980135aa2d6839f6028858f0f5e..4a813406afc8c882ac2a4548f5f5e60836dd391b 100644 (file)
@@ -390,5 +390,9 @@ typedef portBASE_TYPE (*pdTASK_HOOK_CODE)( void * );
        #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()\r
 #endif\r
 \r
+#ifndef configUSE_MALLOC_FAILED_HOOK\r
+       #define configUSE_MALLOC_FAILED_HOOK 0\r
+#endif\r
+\r
 #endif /* INC_FREERTOS_H */\r
 \r