Changeset 7f2e33a in mainline for uspace/drv/usbhid/usbhid.c


Ignore:
Timestamp:
2011-04-07T21:48:37Z (14 years ago)
Author:
Lubos Slovak <lubos.slovak@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
dd10e07
Parents:
fee6381
Message:

Fixed requested Report ID, some debugging stuff.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhid/usbhid.c

    rfee6381 r7f2e33a  
    4040#include <usb/classes/hidparser.h>
    4141#include <usb/classes/hidreport.h>
     42#include <usb/classes/hidreq.h>
    4243#include <errno.h>
    4344
     
    117118     size_t buffer_size, void *arg)
    118119{
     120        usb_log_debug("Dummy polling callback.\n");
    119121        return false;
    120122}
     
    177179        rc = usb_hid_process_report_descriptor(hid_dev->usb_dev,
    178180            hid_dev->parser);
     181       
    179182        if (rc != EOK) {
    180183                usb_log_warning("Could not process report descriptor.\n");
     
    240243                break;
    241244        default:
     245//              usbhid_req_set_idle(&hid_dev->usb_dev->ctrl_pipe,
     246//                  hid_dev->usb_dev->interface_no, 0);
    242247                break;
    243248        }
Note: See TracChangeset for help on using the changeset viewer.