threads: master: [#46] correct if statement
This commit is contained in:
parent
7c7e69ffa1
commit
5441e3a9ca
@ -75,7 +75,9 @@ void Master::taskFunction() {
|
|||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
if(!_qm->receive<Event>(ThreadCommon::QueueManager::master_event_all, &data, 10000))
|
if(!_qm->receive<Event>(ThreadCommon::QueueManager::master_event_all, &data, 10000))
|
||||||
data.setDataOf(Event::Rotary, ThreadCommon::RotaryAction::Idle);
|
{
|
||||||
|
data.setEvent(Event::Rotary, ThreadCommon::RotaryAction::Idle);
|
||||||
|
}
|
||||||
|
|
||||||
HandleEventType(&data);
|
HandleEventType(&data);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user