From 05870e623d7ef38d765c7714e30edd194503feb9 Mon Sep 17 00:00:00 2001 From: Zachary Gonzalez Date: Thu, 21 Oct 2021 00:26:54 -0500 Subject: [PATCH] fix #1537, replacing hardcoded message limit in TIME SERVICES --- modules/time/fsw/src/cfe_time_task.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/time/fsw/src/cfe_time_task.c b/modules/time/fsw/src/cfe_time_task.c index fa692b998..6387d3172 100644 --- a/modules/time/fsw/src/cfe_time_task.c +++ b/modules/time/fsw/src/cfe_time_task.c @@ -199,7 +199,8 @@ int32 CFE_TIME_TaskInit(void) #endif #if (CFE_PLATFORM_TIME_CFG_SERVER == true) - Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_TONE_CMD_MID), CFE_TIME_Global.CmdPipe, CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT); + Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_TONE_CMD_MID), CFE_TIME_Global.CmdPipe, + CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT); #endif if (Status != CFE_SUCCESS) { @@ -215,7 +216,8 @@ int32 CFE_TIME_TaskInit(void) #endif #if (CFE_PLATFORM_TIME_CFG_SERVER == true) - Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_DATA_CMD_MID), CFE_TIME_Global.CmdPipe, CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT); + Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_DATA_CMD_MID), CFE_TIME_Global.CmdPipe, + CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT); #endif if (Status != CFE_SUCCESS) { @@ -231,7 +233,8 @@ int32 CFE_TIME_TaskInit(void) #endif #if (CFE_PLATFORM_TIME_CFG_SERVER == true) - Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID), CFE_TIME_Global.CmdPipe, CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT); + Status = CFE_SB_SubscribeLocal(CFE_SB_ValueToMsgId(CFE_TIME_1HZ_CMD_MID), CFE_TIME_Global.CmdPipe, + CFE_PLATFORM_SB_DEFAULT_MSG_LIMIT); #endif if (Status != CFE_SUCCESS)