diff --git a/source/shoh/src/main.cpp b/source/shoh/src/main.cpp
index 7558463..c5c4dcb 100644
--- a/source/shoh/src/main.cpp
+++ b/source/shoh/src/main.cpp
@@ -15,7 +15,7 @@ int main(void)
ThreadCommon::QueueManager* qmanager = new ThreadCommon::QueueManager;
//Creating queues
qmanager->createQueue(100,
- sizeof(ThreadCommon::Event),
+ sizeof(Event),
ThreadCommon::QueueManager::master_event_all);
//Creating tasks
@@ -25,9 +25,9 @@ int main(void)
//
QueueHandle_t master_event_all_q = qmanager->getQueue(ThreadCommon::QueueManager::master_event_all);
- ThreadCommon::Event* e = new ThreadCommon::Event(ThreadCommon::Rotary, 1);
+ Event* e = new Event(Event::Rotary, 1);
- qmanager->send(ThreadCommon::QueueManager::master_event_all, e, 1000);
+ qmanager->send(ThreadCommon::QueueManager::master_event_all, e, 1000);
//
// Start the real time kernel with preemption.
diff --git a/source/shoh/src/threads/common/Event.h b/source/shoh/src/threads/common/Event.h
new file mode 100644
index 0000000..30c9dea
--- /dev/null
+++ b/source/shoh/src/threads/common/Event.h
@@ -0,0 +1,55 @@
+/*
+ * Event.h
+ *
+ * Created on: 26 Apr 2023
+ * Author: tylen
+ */
+
+#ifndef THREADS_COMMON_EVENT_H_
+#define THREADS_COMMON_EVENT_H_
+
+#include
+#include