Skip to content

Commit ddb061f

Browse files
committed
fix typos
1 parent 6759721 commit ddb061f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/portable/raspberrypi/rp2040/dcd_rp2040.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ static void __tusb_irq_path_func(dcd_rp2040_irq)(void)
254254
handled |= USB_INTF_DEV_SOF_BITS;
255255

256256
#if TUD_OPT_RP2040_USB_DEVICE_UFRAME_FIX
257-
// Errata 15 Walkaround for Device Bulk-In endpoint
257+
// Errata 15 workaround for Device Bulk-In endpoint
258258
e15_last_sof = time_us_32();
259259

260260
for ( uint8_t i = 0; i < USB_MAX_ENDPOINTS; i++ )
@@ -340,7 +340,7 @@ static void __tusb_irq_path_func(dcd_rp2040_irq)(void)
340340
usb_hw_clear->sie_status = USB_SIE_STATUS_BUS_RESET_BITS;
341341

342342
#if TUD_OPT_RP2040_USB_DEVICE_ENUMERATION_FIX
343-
// Only run enumeration walk-around if pull up is enabled
343+
// Only run enumeration workaround if pull up is enabled
344344
if ( usb_hw->sie_ctrl & USB_SIE_CTRL_PULLUP_EN_BITS ) rp2040_usb_device_enumeration_fix();
345345
#endif
346346
}

src/portable/raspberrypi/rp2040/rp2040_usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ static bool __tusb_irq_path_func(e15_is_bulkin_ep) (struct hw_endpoint *ep)
401401
ep->transfer_type == TUSB_XFER_BULK);
402402
}
403403

404-
// check if we need to apply Errata 15 walk-around : i.e
404+
// check if we need to apply Errata 15 workaround : i.e
405405
// Endpoint is BULK IN and is currently in critical frame period i.e 20% of last usb frame
406406
static bool __tusb_irq_path_func(e15_is_critical_frame_period) (struct hw_endpoint *ep)
407407
{

0 commit comments

Comments
 (0)