Differences

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

Link to this comparison view

chibios:book:kernel_semaphores [2014/11/14 10:25]
127.0.0.1 external edit
chibios:book:kernel_semaphores [2016/01/13 13:06] (current)
giovanni [Examples]
Line 116: Line 116:
   /* Initializing the DMA semaphore to allow up to DMA_NUM_CHANNELS   /* Initializing the DMA semaphore to allow up to DMA_NUM_CHANNELS
      ​allocations.*/​      ​allocations.*/​
-  chSemObjectInit(&​uart_bsem, DMA_CHANNELS);​+  chSemObjectInit(&​dmasem, DMA_CHANNELS);​
    
   /* Continuing.*/​   /* Continuing.*/​