From 0863ab11f4193815c5c3c63bbdc5fa9d1dbb6015 Mon Sep 17 00:00:00 2001 From: Lucien Morey Date: Sun, 11 Feb 2024 22:14:20 -0800 Subject: [PATCH] Fix #121, fix incorrect macro usage --- fsw/src/hs_monitors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsw/src/hs_monitors.c b/fsw/src/hs_monitors.c index 0187387..718ce17 100644 --- a/fsw/src/hs_monitors.c +++ b/fsw/src/hs_monitors.c @@ -326,7 +326,7 @@ void HS_MonitorEvent(const CFE_EVS_LongEventTlm_t *EventPtr) default: /* Calculate the requested message action index */ - MsgActsIndex = ActionType - HS_AMT_ACT_LAST_NONMSG - 1; + MsgActsIndex = ActionType - HS_EMT_ACT_LAST_NONMSG - 1; /* ** Check to see if this is a valid Message Action Type