Changeset a6add7a in mainline for uspace/drv/usbmouse/main.c
- Timestamp:
- 2011-03-04T23:35:22Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 960bee9
- Parents:
- d78a32f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmouse/main.c
rd78a32f ra6add7a 39 39 #include <str_error.h> 40 40 41 /** Callback when new mouse device is attached and recognised by DDF. 42 * 43 * @param dev Representation of a generic DDF device. 44 * @return Error code. 45 */ 41 46 static int usbmouse_add_device(ddf_dev_t *dev) 42 47 { … … 63 68 } 64 69 70 /** USB mouse driver ops. */ 65 71 static driver_ops_t mouse_driver_ops = { 66 72 .add_device = usbmouse_add_device, 67 73 }; 68 74 75 /** USB mouse driver. */ 69 76 static driver_t mouse_driver = { 70 77 .name = NAME, … … 74 81 int main(int argc, char *argv[]) 75 82 { 76 usb_log_enable(USB_LOG_LEVEL_DEBUG 2, NAME);83 usb_log_enable(USB_LOG_LEVEL_DEBUG, NAME); 77 84 78 85 return ddf_driver_main(&mouse_driver);
Note:
See TracChangeset
for help on using the changeset viewer.