Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 745a3f1 in mainline


Ignore:
Timestamp:
2018-01-15T15:12:01Z (4 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master
Children:
8a98e4a
Parents:
4c25c2f
git-author:
Petr Manek <petr.manek@…> (2018-01-15 15:11:55)
git-committer:
Petr Manek <petr.manek@…> (2018-01-15 15:12:01)
Message:

usbhid: correct a typo

File:
1 edited

Legend:

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

    r4c25c2f r745a3f1  
    514514                rc = usb_hid_init_report(hid_dev);
    515515                if (rc != EOK) {
    516                         usb_log_error("Failed to initialize input report buffer"
    517                             ".\n");
     516                        usb_log_error("Failed to initialize input report buffer: %s\n", str_error(rc));
     517                        // FIXME: What happens now?
    518518                }
    519519
    520520                usb_polling_t *polling = &hid_dev->polling;
    521521                if ((rc = usb_polling_init(polling))) {
    522                         // FIXME
     522                        usb_log_error("Failed to initialize polling: %s\n", str_error(rc));
     523                        // FIXME: What happens now?
    523524                }
    524525
     
    527528                polling->request_size = hid_dev->poll_pipe_mapping->pipe.desc.max_transfer_size;
    528529                polling->buffer = malloc(polling->request_size);
    529                 polling->on_data = usb_hid_polling_callback,
    530                 polling->on_polling_end = usb_hid_polling_ended_callback,
    531                 polling->on_error = usb_hid_polling_error_callback,
     530                polling->on_data = usb_hid_polling_callback;
     531                polling->on_polling_end = usb_hid_polling_ended_callback;
     532                polling->on_error = usb_hid_polling_error_callback;
    532533                polling->arg = hid_dev;
    533534        }
Note: See TracChangeset for help on using the changeset viewer.