Changes in uspace/drv/usbhid/usbhid.c [dd3eda2:054537b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/usbhid.c
rdd3eda2 r054537b 63 63 static const int USB_HID_MAX_SUBDRIVERS = 10; 64 64 65 static fibril_local bool report_received;66 67 65 /*----------------------------------------------------------------------------*/ 68 66 … … 511 509 free(input_old); 512 510 } 513 usb_hid_new_report();514 511 } 515 512 } … … 592 589 /*----------------------------------------------------------------------------*/ 593 590 594 void usb_hid_new_report(void)595 {596 report_received = false;597 }598 599 /*----------------------------------------------------------------------------*/600 601 void usb_hid_report_received(void)602 {603 report_received = true;604 }605 606 /*----------------------------------------------------------------------------*/607 608 bool usb_hid_report_ready(void)609 {610 return !report_received;611 }612 613 /*----------------------------------------------------------------------------*/614 615 591 void usb_hid_free(usb_hid_dev_t **hid_dev) 616 592 {
Note:
See TracChangeset
for help on using the changeset viewer.