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:
parent
eaf587ef2b
commit
264bb28fd4
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user