From 0c04ccf2e0a2ae23764cab9eb5077afc377967bb Mon Sep 17 00:00:00 2001 From: RedHawk Date: Thu, 27 Apr 2023 02:08:24 +0300 Subject: [PATCH] rotary:[#9] small cleanup. --- source/shoh/src/threads/master/Master.cpp | 1 - source/shoh/src/threads/master/Master.h | 2 -- source/shoh/src/threads/rotary/Rotary.cpp | 5 ----- 3 files changed, 8 deletions(-) diff --git a/source/shoh/src/threads/master/Master.cpp b/source/shoh/src/threads/master/Master.cpp index 70c46bf..2a7e094 100644 --- a/source/shoh/src/threads/master/Master.cpp +++ b/source/shoh/src/threads/master/Master.cpp @@ -14,7 +14,6 @@ Master::Master(ThreadCommon::QueueManager* qm) : _qm(qm) void Master::taskFunction() { Event data(Event::Null, 0); - int led = 0; bool LedState = true; for (;;) { _qm->receive(ThreadCommon::QueueManager::master_event_all, &data, portMAX_DELAY); diff --git a/source/shoh/src/threads/master/Master.h b/source/shoh/src/threads/master/Master.h index aa59969..e5dceae 100644 --- a/source/shoh/src/threads/master/Master.h +++ b/source/shoh/src/threads/master/Master.h @@ -21,8 +21,6 @@ public: virtual ~Master() = default; void taskFunction(); - //Master(Master&&) noexcept = default; - //Master& operator=(Master&&) noexcept = default; private: Event* message; ThreadCommon::QueueManager* _qm; diff --git a/source/shoh/src/threads/rotary/Rotary.cpp b/source/shoh/src/threads/rotary/Rotary.cpp index be7e78c..da1d8ed 100644 --- a/source/shoh/src/threads/rotary/Rotary.cpp +++ b/source/shoh/src/threads/rotary/Rotary.cpp @@ -73,8 +73,3 @@ void rotary_thread(void* pvParams) Rotary r(static_cast(pvParams)); r.taskFunction(); } - -static inline void sendActionAndAssertQueue (uint8_t *data, BaseType_t *const pxHPW) -{ - -}