From 7dd70b6616c4a488eb6f6c2acf159cb785428996 Mon Sep 17 00:00:00 2001
From: athatheo <vostidi@hotmail.com>
Date: Fri, 8 Mar 2019 13:55:26 +0200
Subject: [PATCH] Fixed boolean values addEventActionDefinition function

---
 src/Services/EventActionService.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Services/EventActionService.cpp b/src/Services/EventActionService.cpp
index f33e0e4d..5b5fd201 100644
--- a/src/Services/EventActionService.cpp
+++ b/src/Services/EventActionService.cpp
@@ -32,7 +32,7 @@ void EventActionService::addEventActionDefinitions(Message message) {
 			}
 			if (index < ECSS_EVENT_ACTION_STRUCT_ARRAY_SIZE) {
 				eventActionDefinitionArray[index].empty = false;
-				eventActionDefinitionArray[index].enabled = false;
+				eventActionDefinitionArray[index].enabled = true;
 				eventActionDefinitionArray[index].applicationId = applicationID;
 				eventActionDefinitionArray[index].eventDefinitionID = eventDefinitionID;
 				if (message.dataSize - 4 > ECSS_EVENT_SERVICE_STRING_SIZE) {
-- 
GitLab