MFNetBSD:

revision 1.81
    date: 2001/04/17 00:05:33;  author: augustss;  state: Exp;  lines: +7 -1
    Add a DIAGNOSTIC.
This commit is contained in:
Josef Karthauser 2002-04-07 10:38:07 +00:00
parent eaf587ef2b
commit 264bb28fd4

View File

@ -1010,6 +1010,12 @@ usbd_do_request_async(usbd_device_handle dev, usb_device_request_t *req,
const struct usbd_quirks *
usbd_get_quirks(usbd_device_handle dev)
{
#ifdef DIAGNOSTIC
if (dev == NULL) {
printf("usbd_get_quirks: dev == NULL\n");
return 0;
}
#endif
return (dev->quirks);
}