From 1009f9fcb81566a787e7ddea9399634b68eaa809 Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Mon, 11 Jan 2021 11:28:10 -0500 Subject: [PATCH] Fix #1081, Correct deprecation directive typo --- fsw/cfe-core/src/inc/cfe_sb.h | 2 +- fsw/cfe-core/src/sb/cfe_sb_api.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fsw/cfe-core/src/inc/cfe_sb.h b/fsw/cfe-core/src/inc/cfe_sb.h index 551fd71b5..1c7685953 100644 --- a/fsw/cfe-core/src/inc/cfe_sb.h +++ b/fsw/cfe-core/src/inc/cfe_sb.h @@ -646,7 +646,7 @@ CFE_Status_t CFE_SB_PassMsg(CFE_MSG_Message_t *MsgPtr); **/ CFE_Status_t CFE_SB_ReceiveBuffer(CFE_SB_Buffer_t **BufPtr, CFE_SB_PipeId_t PipeId, int32 TimeOut); -#if CFE_OMIT_DEPRECATED_6_8 +#ifndef CFE_OMIT_DEPRECATED_6_8 /** * \brief DEPRECATED: receive buffer * \deprecated use CFE_SB_ReceiveBuffer diff --git a/fsw/cfe-core/src/sb/cfe_sb_api.c b/fsw/cfe-core/src/sb/cfe_sb_api.c index 62fd41809..ac1436676 100644 --- a/fsw/cfe-core/src/sb/cfe_sb_api.c +++ b/fsw/cfe-core/src/sb/cfe_sb_api.c @@ -1455,7 +1455,7 @@ int32 CFE_SB_TransmitBufferFull(CFE_SB_BufferD_t *BufDscPtr, } -#if CFE_OMIT_DEPRECATED_6_8 +#ifndef CFE_OMIT_DEPRECATED_6_8 int32 CFE_SB_RcvMsg(CFE_SB_Buffer_t **BufPtr, CFE_SB_PipeId_t PipeId, int32 TimeOut)