rk27xx: fix usb logf

Change-Id: I1bae5613fd96587bcdcf179ec4132ce75224d398
This commit is contained in:
Amaury Pouly 2013-02-21 17:48:55 +01:00
parent 3875f576e8
commit 97f1466cd4

View file

@ -61,6 +61,11 @@ typedef volatile uint32_t reg32;
#ifdef LOGF_ENABLE
#define XFER_DIR_STR(dir) ((dir) ? "IN" : "OUT")
#define XFER_TYPE_STR(type) \
((type) == USB_ENDPOINT_XFER_CONTROL ? "CTRL" : \
((type) == USB_ENDPOINT_XFER_ISOC ? "ISOC" : \
((type) == USB_ENDPOINT_XFER_BULK ? "BULK" : \
((type) == USB_ENDPOINT_XFER_INT ? "INTR" : "INVL"))))
#endif
struct endpoint_t {