I'm trying to use events on my project however I have some questions regarding event_mask.
If I have 4 event_mask(0, 1, 2 and 3) and I want to wait for two of them(0 and 1), is this the right way to do it?
Code: Select all
chEvtWaitAll(EVENT_MASK(0) & EVENT_MASK(1));Thanks,
Wagner Sartori Junior