rotary:[#9] small cleanup.
This commit is contained in:
parent
2ed0653056
commit
0c04ccf2e0
@ -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);
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user