diff options
Diffstat (limited to 'demos/device/src')
| -rw-r--r-- | demos/device/src/cdc_device_app.c | 4 | ||||
| -rw-r--r-- | demos/device/src/keyboard_device_app.c | 4 | ||||
| -rw-r--r-- | demos/device/src/mouse_device_app.c | 4 | ||||
| -rw-r--r-- | demos/device/src/msc_device_app.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/demos/device/src/cdc_device_app.c b/demos/device/src/cdc_device_app.c index 427b9a159..0a54ffc3c 100644 --- a/demos/device/src/cdc_device_app.c +++ b/demos/device/src/cdc_device_app.c @@ -125,9 +125,9 @@ void cdcd_serial_app_task(void* param) {
(void) param;
- OSAL_TASK_LOOP_BEGIN
+ OSAL_TASK_BEGIN
cdcd_serial_subtask();
- OSAL_TASK_LOOP_END
+ OSAL_TASK_END
}
tusb_error_t cdcd_serial_subtask(void)
diff --git a/demos/device/src/keyboard_device_app.c b/demos/device/src/keyboard_device_app.c index af3eaf829..3ada9ee96 100644 --- a/demos/device/src/keyboard_device_app.c +++ b/demos/device/src/keyboard_device_app.c @@ -115,9 +115,9 @@ void keyboard_device_app_task(void* param) {
(void) param;
- OSAL_TASK_LOOP_BEGIN
+ OSAL_TASK_BEGIN
keyboard_device_subtask();
- OSAL_TASK_LOOP_END
+ OSAL_TASK_END
}
tusb_error_t keyboard_device_subtask(void)
diff --git a/demos/device/src/mouse_device_app.c b/demos/device/src/mouse_device_app.c index 4bcbb1cbd..56a4f51f4 100644 --- a/demos/device/src/mouse_device_app.c +++ b/demos/device/src/mouse_device_app.c @@ -103,9 +103,9 @@ void mouse_device_subtask(void); void mouse_device_app_task(void * param)
{
(void) para;
- OSAL_TASK_LOOP_BEGIN
+ OSAL_TASK_BEGIN
mouse_device_subtask();
- OSAL_TASK_LOOP_END
+ OSAL_TASK_END
}
void mouse_device_subtask(void)
diff --git a/demos/device/src/msc_device_app.c b/demos/device/src/msc_device_app.c index a421825a1..adbd95b65 100644 --- a/demos/device/src/msc_device_app.c +++ b/demos/device/src/msc_device_app.c @@ -160,9 +160,9 @@ void msc_device_app_task(void* param) { // no need to implement the task yet
(void) param;
- OSAL_TASK_LOOP_BEGIN
+ OSAL_TASK_BEGIN
- OSAL_TASK_LOOP_END
+ OSAL_TASK_END
}
void msc_device_app_init (void)
|
