diff options
| author | hathach <[email protected]> | 2018-03-01 12:14:44 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2018-03-01 12:14:44 +0700 |
| commit | 7add7337babf0af8f4f2bbd1127e57dc0d580c1d (patch) | |
| tree | 21ce57fd0fa035161b8970e64028778824d19325 /demos/device/src | |
| parent | 40935fc01ca33b6123c1626f930faf9b48e0b2b0 (diff) | |
osal macro clean up
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)
|
