Changeset 598733c9 in mainline


Ignore:
Timestamp:
2018-01-13T10:44:51Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bf601313
Parents:
837581fd
Message:

fix broken debug messages && make it compile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/hc.c

    r837581fd r598733c9  
    507507        }
    508508
    509         usb_log_debug2("Polled status: %x", hc, *status);
     509        usb_log_debug2("Polled status: %x", *status);
    510510        return EOK;
    511511}
     
    513513static int xhci_handle_mfindex_wrap_event(xhci_hc_t *hc, xhci_trb_t *trb)
    514514{
    515         usb_log_debug2("Microframe index wrapped.", hc, *status);
    516515        struct timeval tv;
    517516        getuptime(&tv);
     517        usb_log_debug2("Microframe index wrapped (@%lu.%li, %"PRIu64" total).", tv.tv_sec, tv.tv_usec, hc->wrap_count);
    518518        hc->wrap_time = ((uint64_t) tv.tv_sec) * 1000000 + ((uint64_t) tv.tv_usec);
    519519        ++hc->wrap_count;
Note: See TracChangeset for help on using the changeset viewer.