diff options
| author | hathach <[email protected]> | 2014-03-14 16:31:33 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2014-03-14 16:36:04 +0700 |
| commit | 590acffc24ad2b9093165d1c0b37d0fc6a7f6882 (patch) | |
| tree | f9fec600c7fc93cd98cbe9dd460e43fe40daa364 /demos/host/src/main.c | |
| parent | 4f1ae1cd1d651fdd7fd3e02081b05a7528e96ba7 (diff) | |
fix some warnings
Diffstat (limited to 'demos/host/src/main.c')
| -rw-r--r-- | demos/host/src/main.c | 2 |
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();
|
