From 8274bc237a70ee6c9e20c7d52824f8148e1891ac Mon Sep 17 00:00:00 2001 From: rtel Date: Mon, 7 May 2018 16:31:50 +0000 Subject: [PATCH] Update definition of StaticTimer_t so its size is correct on MSP403X large memory model builds. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2540 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- FreeRTOS/Source/include/FreeRTOS.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/FreeRTOS/Source/include/FreeRTOS.h b/FreeRTOS/Source/include/FreeRTOS.h index c6f344513..4b4088117 100644 --- a/FreeRTOS/Source/include/FreeRTOS.h +++ b/FreeRTOS/Source/include/FreeRTOS.h @@ -1129,13 +1129,14 @@ typedef struct xSTATIC_TIMER StaticListItem_t xDummy2; TickType_t xDummy3; UBaseType_t uxDummy4; - void *pvDummy5[ 2 ]; + void *pvDummy5; + TaskFunction_t pvDummy6; #if( configUSE_TRACE_FACILITY == 1 ) - UBaseType_t uxDummy6; + UBaseType_t uxDummy7; #endif #if( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) - uint8_t ucDummy7; + uint8_t ucDummy8; #endif } StaticTimer_t; -- 2.39.5