From 55f64802d1b13c381c08d9c4b4849ea45187a63a Mon Sep 17 00:00:00 2001 From: James Cotton Date: Sat, 27 Aug 2011 00:12:16 -0500 Subject: [PATCH] Also enable malloc error catching on OpenPilot --- flight/OpenPilot/System/inc/FreeRTOSConfig.h | 1 + 1 file changed, 1 insertion(+) diff --git a/flight/OpenPilot/System/inc/FreeRTOSConfig.h b/flight/OpenPilot/System/inc/FreeRTOSConfig.h index 48b7c1560..4b37f7e44 100644 --- a/flight/OpenPilot/System/inc/FreeRTOSConfig.h +++ b/flight/OpenPilot/System/inc/FreeRTOSConfig.h @@ -26,6 +26,7 @@ #define configUSE_PREEMPTION 1 #define configUSE_IDLE_HOOK 1 #define configUSE_TICK_HOOK 0 +#define configUSE_MALLOC_FAILED_HOOK 1 #define configCPU_CLOCK_HZ ( ( unsigned long ) 72000000 ) #define configTICK_RATE_HZ ( ( portTickType ) 1000 ) #define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 )