osal macro clean up
This commit is contained in:
@@ -123,7 +123,7 @@ void cdc_serial_host_app_task( void* param )
|
||||
{
|
||||
(void) param;
|
||||
|
||||
OSAL_TASK_LOOP_BEGIN
|
||||
OSAL_TASK_BEGIN
|
||||
|
||||
//------------- send characters got from uart terminal to the first CDC device -------------//
|
||||
for(uint8_t dev_addr=1; dev_addr <= TUSB_CFG_HOST_DEVICE_MAX; dev_addr++)
|
||||
@@ -163,7 +163,7 @@ void cdc_serial_host_app_task( void* param )
|
||||
}
|
||||
}
|
||||
|
||||
OSAL_TASK_LOOP_END
|
||||
OSAL_TASK_END
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -113,7 +113,7 @@ void keyboard_host_app_task(void* param)
|
||||
{
|
||||
(void) param;
|
||||
|
||||
OSAL_TASK_LOOP_BEGIN
|
||||
OSAL_TASK_BEGIN
|
||||
|
||||
hid_keyboard_report_t kbd_report;
|
||||
tusb_error_t error;
|
||||
@@ -123,7 +123,7 @@ void keyboard_host_app_task(void* param)
|
||||
|
||||
process_kbd_report(&kbd_report);
|
||||
|
||||
OSAL_TASK_LOOP_END
|
||||
OSAL_TASK_END
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
@@ -114,7 +114,7 @@ void mouse_host_app_task(void* param)
|
||||
{
|
||||
(void) param;
|
||||
|
||||
OSAL_TASK_LOOP_BEGIN
|
||||
OSAL_TASK_BEGIN
|
||||
|
||||
tusb_error_t error;
|
||||
hid_mouse_report_t mouse_report;
|
||||
@@ -124,7 +124,7 @@ void mouse_host_app_task(void* param)
|
||||
|
||||
process_mouse_report(&mouse_report);
|
||||
|
||||
OSAL_TASK_LOOP_END
|
||||
OSAL_TASK_END
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------+
|
||||
|
||||
@@ -150,7 +150,7 @@ void msc_host_app_task(void* param)
|
||||
{
|
||||
(void) param;;
|
||||
|
||||
OSAL_TASK_LOOP_BEGIN
|
||||
OSAL_TASK_BEGIN
|
||||
|
||||
bool is_any_disk_mounted;
|
||||
|
||||
@@ -176,7 +176,7 @@ void msc_host_app_task(void* param)
|
||||
}
|
||||
}
|
||||
|
||||
OSAL_TASK_LOOP_END
|
||||
OSAL_TASK_END
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -69,8 +69,8 @@ void rndis_host_app_init(void)
|
||||
|
||||
void rndis_host_app_task(void* param)
|
||||
{
|
||||
OSAL_TASK_LOOP_BEGIN
|
||||
OSAL_TASK_LOOP_END
|
||||
OSAL_TASK_BEGIN
|
||||
OSAL_TASK_END
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user