diff options
| author | hathach <[email protected]> | 2021-06-11 18:53:56 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2021-06-11 18:54:09 +0700 |
| commit | dfe5a727c6b236c1b05b5447cdf0535545a6d32e (patch) | |
| tree | 8eaf03501dac9a6fbc3b87c6afe17013c319a446 /src/portable/raspberrypi | |
| parent | b39faa15effec35dceb95655b0db75c3fe564f3d (diff) | |
log clean up
Diffstat (limited to 'src/portable/raspberrypi')
| -rw-r--r-- | src/portable/raspberrypi/rp2040/hcd_rp2040.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/portable/raspberrypi/rp2040/hcd_rp2040.c b/src/portable/raspberrypi/rp2040/hcd_rp2040.c index 0bbd7e7c2..c145082f2 100644 --- a/src/portable/raspberrypi/rp2040/hcd_rp2040.c +++ b/src/portable/raspberrypi/rp2040/hcd_rp2040.c @@ -146,15 +146,13 @@ static void hw_handle_buff_status(void) uint32_t ep_ctrl = *ep->endpoint_control; if (ep_ctrl & EP_CTRL_DOUBLE_BUFFERED_BITS) { - TU_LOG(2, "Double Buffered "); + TU_LOG(3, "Double Buffered: "); }else { - TU_LOG(2, "Single Buffered "); + TU_LOG(3, "Single Buffered: "); } - if (ep_ctrl & EP_CTRL_INTERRUPT_PER_DOUBLE_BUFFER) TU_LOG(2, "Interrupt per double "); - if (ep_ctrl & EP_CTRL_INTERRUPT_PER_BUFFER) TU_LOG(2, "Interrupt per single "); - TU_LOG_HEX(2, ep_ctrl); + TU_LOG_HEX(3, ep_ctrl); _handle_buff_status_bit(bit, ep); } |
