From ced8f19af9e0193dbcd6557099d0b01bd8bbf9ea Mon Sep 17 00:00:00 2001
From: Dimitrios Stoupis <dimitris.apple@gmail.com>
Date: Wed, 13 Mar 2019 21:19:42 +0000
Subject: [PATCH] Converted vector to etl and added some librarires

---
 inc/Services/TimeBasedSchedulingService.hpp | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/inc/Services/TimeBasedSchedulingService.hpp b/inc/Services/TimeBasedSchedulingService.hpp
index 77baac0e..8b18663c 100644
--- a/inc/Services/TimeBasedSchedulingService.hpp
+++ b/inc/Services/TimeBasedSchedulingService.hpp
@@ -4,8 +4,10 @@
 #include <iostream>
 #include "etl/vector.h"
 #include "Service.hpp"
-#include "Helpers/CRCHelper.hpp"
 #include "ErrorHandler.hpp"
+#include "MessageParser.hpp"
+#include "Helpers/CRCHelper.hpp"
+#include "Helpers/TimeHelper.hpp"
 
 // Define whether groups and/or sub-schedules are in use
 #define GROUPS_ENABLED          0
@@ -25,12 +27,12 @@ private:
 
 	// Hold the data for the scheduled activity definition
 	struct ScheduledActivity {
-		//Message request; // Hold the received command request
+		Message request; // Hold the received command request
 		uint32_t requestReleaseTime = 0; // Keep the command release time
 		// todo: If we decide to use sub-schedules, the ID of that has to be defined
 		// todo: If groups are used, then the group ID has to be defined here
 	};
-	std::vector<ScheduledActivity> scheduledActivities; // Scheduled activity definitions
+	etl::vector<ScheduledActivity, MAX_NUMBER_OF_ACTIVITIES> scheduledActivities; // Scheduled activity definitions
 
 
 public:
-- 
GitLab