Skip to content

Commit e784e20

Browse files
author
IngHK
committed
changes after review
1 parent a39be99 commit e784e20

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/host/usbh.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -291,9 +291,6 @@ bool tuh_vid_pid_get(uint8_t dev_addr, uint16_t *vid, uint16_t *pid) {
291291
*vid = dev->vid;
292292
*pid = dev->pid;
293293

294-
TU_LOG_HEX_USBH(*vid);
295-
TU_LOG_HEX_USBH(*pid);
296-
297294
return true;
298295
}
299296

@@ -863,7 +860,7 @@ bool usbh_edpt_xfer_with_callback(uint8_t dev_addr, uint8_t ep_addr, uint8_t * b
863860
// HCD error, mark endpoint as ready to allow next transfer
864861
ep_state->busy = 0;
865862
ep_state->claimed = 0;
866-
TU_LOG_USBH("Failed\r\n");
863+
TU_LOG1("Failed\r\n");
867864
// TU_BREAKPOINT();
868865
return false;
869866
}
@@ -1321,7 +1318,7 @@ static void process_enumeration(tuh_xfer_t* xfer) {
13211318
if ( retry ) {
13221319
failed_count++;
13231320
osal_task_delay(ATTEMPT_DELAY_MS); // delay a bit
1324-
TU_LOG_USBH("Enumeration attempt %u\r\n", failed_count);
1321+
TU_LOG1("Enumeration attempt %u\r\n", failed_count);
13251322
retry = tuh_control_xfer(xfer);
13261323
}
13271324

0 commit comments

Comments
 (0)