Skip to content
Snippets Groups Projects
Unverified Commit ced8f19a authored by Dimitrios Stoupis's avatar Dimitrios Stoupis
Browse files

Converted vector to etl and added some librarires

parent 33fff303
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
#include <iostream> #include <iostream>
#include "etl/vector.h" #include "etl/vector.h"
#include "Service.hpp" #include "Service.hpp"
#include "Helpers/CRCHelper.hpp"
#include "ErrorHandler.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 whether groups and/or sub-schedules are in use
#define GROUPS_ENABLED 0 #define GROUPS_ENABLED 0
...@@ -25,12 +27,12 @@ private: ...@@ -25,12 +27,12 @@ private:
// Hold the data for the scheduled activity definition // Hold the data for the scheduled activity definition
struct ScheduledActivity { 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 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 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 // 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: public:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment