rotary:[#9] small cleanup.

This commit is contained in:
RedHawk 2023-04-27 02:08:24 +03:00
parent 2ed0653056
commit 0c04ccf2e0
3 changed files with 0 additions and 8 deletions

View File

@ -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<Event>(ThreadCommon::QueueManager::master_event_all, &data, portMAX_DELAY);

View File

@ -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;

View File

@ -73,8 +73,3 @@ void rotary_thread(void* pvParams)
Rotary r(static_cast<ThreadCommon::QueueManager*>(pvParams));
r.taskFunction();
}
static inline void sendActionAndAssertQueue (uint8_t *data, BaseType_t *const pxHPW)
{
}