Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
chibios:book:kernel_events [2016/06/12 17:35]
giovanni
chibios:book:kernel_events [2016/06/12 17:56] (current)
giovanni [Examples]
Line 171: Line 171:
   chEvtRegisterMask(&​network_event_source,​   chEvtRegisterMask(&​network_event_source,​
                     &​network_listener,​                     &​network_listener,​
-                    0);+                    ​EVENT_MASK(0));
  
   /* Registering on the serial driver as event 1, interested in   /* Registering on the serial driver as event 1, interested in