Changeset dff940f8 in mainline for uspace/drv/usbhub/main.c
- Timestamp:
- 2011-02-25T16:56:52Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8c877b2, b8622e2
- Parents:
- cc34f32f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/main.c
rcc34f32f rdff940f8 52 52 }; 53 53 54 /*55 int usb_hub_control_loop(void * noparam){56 while(true){57 usb_hub_check_hub_changes();58 async_usleep(1000 * 1000 );/// \TODO proper number once59 }60 return 0;61 }62 */63 64 54 int main(int argc, char *argv[]) 65 55 { … … 73 63 fibril_mutex_unlock(&usb_hub_list_lock); 74 64 75 /*76 fid_t fid = fibril_create(usb_hub_control_loop, NULL);77 if (fid == 0) {78 fprintf(stderr, NAME ": failed to start monitoring fibril," \79 " driver aborting.\n");80 return ENOMEM;81 }82 fibril_add_ready(fid);83 */84 65 return ddf_driver_main(&hub_driver); 85 66 }
Note:
See TracChangeset
for help on using the changeset viewer.