Subversion Repositories svn.mios32

Rev

Rev 598 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 598 Rev 2425
Line 100... Line 100...
100
    USART_Cmd(DMX, ENABLE);
100
    USART_Cmd(DMX, ENABLE);
101
    dmx_state=DMX_IDLE;
101
    dmx_state=DMX_IDLE;
102
    dmx_current_channel=0;
102
    dmx_current_channel=0;
103
    // Create timer to send DMX universe.
103
    // Create timer to send DMX universe.
104
    vSemaphoreCreateBinary(xDMXSemaphore);
104
    vSemaphoreCreateBinary(xDMXSemaphore);
105
  xTaskCreate(TASK_DMX, (signed portCHAR *)"DMX", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_DMX, NULL);
105
  xTaskCreate(TASK_DMX, "DMX", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_DMX, NULL);
106
    return 0;
106
    return 0;
107
}
107
}
108
108
109
/////////////////////////////////////////////////////////////////////////////
109
/////////////////////////////////////////////////////////////////////////////
110
// This task handles sending the DMX universe
110
// This task handles sending the DMX universe