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 */