summaryrefslogtreecommitdiff
path: root/demos/host/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/host/src/main.c')
-rw-r--r--demos/host/src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index 8fd7f7fbb..492fcad9f 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -121,7 +121,7 @@ int main(void)
tusb_init();
//------------- application task init -------------//
- (void) osal_task_create( OSAL_TASK_REF(led_blinking_task) );
+ if( osal_task_create( OSAL_TASK_REF(led_blinking_task) ) != TUSB_ERROR_NONE ) while(1){}
keyboard_app_init();
mouse_app_init();