Changes in uspace/drv/usbhid/usbhid.c [054537b:dd3eda2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/usbhid.c
r054537b rdd3eda2 63 63 static const int USB_HID_MAX_SUBDRIVERS = 10; 64 64 65 static fibril_local bool report_received; 66 65 67 /*----------------------------------------------------------------------------*/ 66 68 … … 509 511 free(input_old); 510 512 } 513 usb_hid_new_report(); 511 514 } 512 515 } … … 589 592 /*----------------------------------------------------------------------------*/ 590 593 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 591 615 void usb_hid_free(usb_hid_dev_t **hid_dev) 592 616 {
Note:
See TracChangeset
for help on using the changeset viewer.