mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 03:40:52 +00:00
minor update
This commit is contained in:
parent
0531027b57
commit
802ad885ab
@ -1233,7 +1233,7 @@ bool usbd_edpt_xfer(uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t
|
|||||||
|
|
||||||
TU_LOG_USBD(" Queue EP %02X with %u bytes ...\r\n", ep_addr, total_bytes);
|
TU_LOG_USBD(" Queue EP %02X with %u bytes ...\r\n", ep_addr, total_bytes);
|
||||||
#if CFG_TUD_LOG_LEVEL >= 3
|
#if CFG_TUD_LOG_LEVEL >= 3
|
||||||
if(tu_edpt_dir(ep_addr) == TUSB_DIR_IN) {
|
if(dir == TUSB_DIR_IN) {
|
||||||
TU_LOG_MEM(CFG_TUD_LOG_LEVEL, buffer, total_bytes, 2);
|
TU_LOG_MEM(CFG_TUD_LOG_LEVEL, buffer, total_bytes, 2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user