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() {
|
void Master::taskFunction() {
|
||||||
Event data(Event::Null, 0);
|
Event data(Event::Null, 0);
|
||||||
int led = 0;
|
|
||||||
bool LedState = true;
|
bool LedState = true;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
_qm->receive<Event>(ThreadCommon::QueueManager::master_event_all, &data, portMAX_DELAY);
|
_qm->receive<Event>(ThreadCommon::QueueManager::master_event_all, &data, portMAX_DELAY);
|
||||||
|
|||||||
@ -21,8 +21,6 @@ public:
|
|||||||
virtual ~Master() = default;
|
virtual ~Master() = default;
|
||||||
void taskFunction();
|
void taskFunction();
|
||||||
|
|
||||||
//Master(Master&&) noexcept = default;
|
|
||||||
//Master& operator=(Master&&) noexcept = default;
|
|
||||||
private:
|
private:
|
||||||
Event* message;
|
Event* message;
|
||||||
ThreadCommon::QueueManager* _qm;
|
ThreadCommon::QueueManager* _qm;
|
||||||
|
|||||||
@ -73,8 +73,3 @@ void rotary_thread(void* pvParams)
|
|||||||
Rotary r(static_cast<ThreadCommon::QueueManager*>(pvParams));
|
Rotary r(static_cast<ThreadCommon::QueueManager*>(pvParams));
|
||||||
r.taskFunction();
|
r.taskFunction();
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void sendActionAndAssertQueue (uint8_t *data, BaseType_t *const pxHPW)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user