rename OSAL_TASK_DECLARE to OSAL_TASK_FUNCTION

removing TASK_ASSERT to avoid using goto/continue statement with rtos configure
This commit is contained in:
hathach
2013-04-23 15:35:27 +07:00
parent 0b9f553f81
commit 73d5f00a40
8 changed files with 217 additions and 198 deletions

View File

@@ -96,7 +96,7 @@ void mouse_app_init(void)
}
//------------- main task -------------//
OSAL_TASK_DECLARE( mouse_app_task )
OSAL_TASK_FUNCTION( mouse_app_task )
{
tusb_error_t error;
tusb_mouse_report_t mouse_report;