Subversion Repositories svn.mios32

Rev

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

Rev 392 Rev 2425
Line 1... Line 1...
1
// $Id: mbnet_task.c 392 2009-03-13 00:23:48Z tk $
1
// $Id: mbnet_task.c 2425 2016-11-03 00:44:22Z tk $
2
/*
2
/*
3
 * MBNet handler as FreeRTOS task
3
 * MBNet handler as FreeRTOS task
4
 *
4
 *
5
 * ==========================================================================
5
 * ==========================================================================
6
 *
6
 *
Line 75... Line 75...
75
    return -1; // only mode 0 supported yet
75
    return -1; // only mode 0 supported yet
76
76
77
  xMBNETSemaphore = xSemaphoreCreateMutex();
77
  xMBNETSemaphore = xSemaphoreCreateMutex();
78
78
79
  // start task
79
  // start task
80
  xTaskCreate(MBNET_TASK_Handler, (signed portCHAR *)"MBNet", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_UIP, NULL);
80
  xTaskCreate(MBNET_TASK_Handler, "MBNet", configMINIMAL_STACK_SIZE, NULL, PRIORITY_TASK_UIP, NULL);
81
81
82
  return 0; // no error
82
  return 0; // no error
83
}
83
}
84
84
85
85