Skip to content

Commit 59fbb10

Browse files
committed
applications: nrf_desktop: usb_state: fix SoF Kconfig dependencies
Added the missing dependency on the UDC_ENABLE_SOF Kconfig option to the SoF synchronization Kconfig option. This Kconfig is part of the USB state module in the nRF Desktop application. This fix aligns the nRF Desktop with the changes introduced by the following PR: nrfconnect#23193 Signed-off-by: Kamil Piszczek <[email protected]>
1 parent 087d1e6 commit 59fbb10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

applications/nrf_desktop/src/modules/Kconfig.usb_state

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ config DESKTOP_USB_PM_RESTRICT_REMOVE_DELAY_MS
7575
config DESKTOP_USB_HID_REPORT_SENT_ON_SOF
7676
bool "Submit HID report sent event on USB Start of Frame (SOF) [EXPERIMENTAL]"
7777
default y if UDC_DRIVER_HAS_HIGH_SPEED_SUPPORT
78+
select UDC_ENABLE_SOF if UDC_DRIVER
7879
select EXPERIMENTAL
7980
help
8081
Delay submitting hid_report_sent_event until subsequent USB Start of
@@ -87,6 +88,9 @@ config DESKTOP_USB_HID_REPORT_SENT_ON_SOF
8788
by default, because the negative impact of USB polling jitter is more
8889
visible in case of USB High-Speed.
8990

91+
If you use an UDC driver, SoF interrupts must be explicitly enabled for
92+
this Kconfig option to work correctly.
93+
9094
choice DESKTOP_USB_STACK
9195
prompt "USB stack"
9296
default DESKTOP_USB_STACK_LEGACY

0 commit comments

Comments
 (0)