Changes in uspace/drv/usbmouse/main.c [a6add7a:019cff6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmouse/main.c
ra6add7a r019cff6 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 */46 41 static int usbmouse_add_device(ddf_dev_t *dev) 47 42 { … … 68 63 } 69 64 70 /** USB mouse driver ops. */71 65 static driver_ops_t mouse_driver_ops = { 72 66 .add_device = usbmouse_add_device, 73 67 }; 74 68 75 /** USB mouse driver. */76 69 static driver_t mouse_driver = { 77 70 .name = NAME, … … 81 74 int main(int argc, char *argv[]) 82 75 { 83 usb_log_enable(USB_LOG_LEVEL_DEBUG , NAME);76 usb_log_enable(USB_LOG_LEVEL_DEBUG2, NAME); 84 77 85 78 return ddf_driver_main(&mouse_driver);
Note:
See TracChangeset
for help on using the changeset viewer.