From 2749d8e8c7ab626f7dfb088d6055f9edf9f89e2d Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Wed, 13 Dec 2023 09:02:47 -0500 Subject: [PATCH] Fix #102, remove dependency on MID_BASE defines Any nonzero value will work --- unit-test/utilities/lc_test_utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit-test/utilities/lc_test_utils.h b/unit-test/utilities/lc_test_utils.h index b9d7911..ee6d879 100644 --- a/unit-test/utilities/lc_test_utils.h +++ b/unit-test/utilities/lc_test_utils.h @@ -84,8 +84,8 @@ extern UT_CmdBuf_t UT_CmdBuf; #define ADD_TEST(test) UtTest_Add((Test_##test), LC_UT_Setup, LC_UT_TearDown, #test) /* Unit test MID */ -#define LC_UT_MID_1 CFE_SB_ValueToMsgId(CFE_PLATFORM_TLM_MID_BASE + 1) -#define LC_UT_MID_2 CFE_SB_ValueToMsgId(CFE_PLATFORM_TLM_MID_BASE + 2) +#define LC_UT_MID_1 CFE_SB_ValueToMsgId(1) +#define LC_UT_MID_2 CFE_SB_ValueToMsgId(2) /* * Setup function prior to every test