From 3517f171f37fe5a9c519a7c6218528f13c3cd15e Mon Sep 17 00:00:00 2001 From: RedHawk Date: Wed, 26 Apr 2023 11:36:43 +0300 Subject: [PATCH] shoh: Fix project includes main: Remove unused variable. --- source/shoh/.cproject | 18 ++++++++++++++---- source/shoh/src/main.cpp | 3 +-- source/shoh/src/threads/master/Master.h | 4 ++-- 3 files changed, 17 insertions(+), 8 deletions(-) diff --git a/source/shoh/.cproject b/source/shoh/.cproject index 12a087c..aa180f6 100644 --- a/source/shoh/.cproject +++ b/source/shoh/.cproject @@ -48,9 +48,9 @@ + - @@ -197,6 +197,7 @@ + @@ -225,6 +226,7 @@ + @@ -331,7 +334,14 @@ LPCXpresso11U68 - + + + + + + + + diff --git a/source/shoh/src/main.cpp b/source/shoh/src/main.cpp index c5c4dcb..bf1f949 100644 --- a/source/shoh/src/main.cpp +++ b/source/shoh/src/main.cpp @@ -3,7 +3,7 @@ #include "FreeRTOS.h" #include "task.h" #include -#include "common/ThreadCommon.h" +#include "ThreadCommon.h" #include "Master.h" @@ -24,7 +24,6 @@ int main(void) static_cast(qmanager)); // - QueueHandle_t master_event_all_q = qmanager->getQueue(ThreadCommon::QueueManager::master_event_all); Event* e = new Event(Event::Rotary, 1); qmanager->send(ThreadCommon::QueueManager::master_event_all, e, 1000); diff --git a/source/shoh/src/threads/master/Master.h b/source/shoh/src/threads/master/Master.h index ffa083e..aa59969 100644 --- a/source/shoh/src/threads/master/Master.h +++ b/source/shoh/src/threads/master/Master.h @@ -10,8 +10,8 @@ #include "chip.h" #include "board.h" -#include "threads/common/ThreadCommon.h" -#include "threads/common/Event.h" +#include "ThreadCommon.h" +#include "Event.h" #include "task.h" #include