Skip to content

Commit 09351bf

Browse files
usb: device: next: class: gs_usb: select UDC_ENABLE_SOF when needed
Select the newly introduced Kconfig CONFIG_UDC_ENABLE_SOF when timestamping on start-of-frame events is enabled. Signed-off-by: Henrik Brix Andersen <[email protected]>
1 parent e5c6538 commit 09351bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/usb/device_next/class/Kconfig.gs_usb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ config USBD_GS_USB_TIMESTAMP
5151
config USBD_GS_USB_TIMESTAMP_SOF
5252
bool "Capture hardware timestamp on USB SoF"
5353
depends on USBD_GS_USB_TIMESTAMP
54+
select UDC_ENABLE_SOF
5455
help
5556
Capture the hardware timestamp on each USB Start of Frame event. This improves the
5657
timestamp accurracy with the cost of a higher CPU load.

0 commit comments

Comments
 (0)