Browse Source

usb: device_next: hide Kconfig option USBD_MSG_SLAB_COUNT if not used

If deferred mode is not being used, hide the USBD_MSG_SLAB_COUNT option.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
pull/91921/head
Johann Fischer 3 weeks ago committed by Benjamin Cabé
parent
commit
452a53ba1a
  1. 14
      subsys/usb/device_next/Kconfig

14
subsys/usb/device_next/Kconfig

@ -74,13 +74,6 @@ config USBD_MAX_UDC_MSG @@ -74,13 +74,6 @@ config USBD_MAX_UDC_MSG
help
Maximum number of USB device controller events that can be queued.
config USBD_MSG_SLAB_COUNT
int "Maximum number of USB device notification messages"
range 4 64
default 8
help
Maximum number of USB device notification messages that can be queued.
config USBD_MSG_DEFERRED_MODE
bool "Execute message callback from system workqueue"
default y
@ -88,6 +81,13 @@ config USBD_MSG_DEFERRED_MODE @@ -88,6 +81,13 @@ config USBD_MSG_DEFERRED_MODE
Execute message callback from system workqueue. If disabled, message
callback will be executed in the device stack context.
config USBD_MSG_SLAB_COUNT
int "Maximum number of USB device notification messages" if USBD_MSG_DEFERRED_MODE
range 4 64
default 8
help
Maximum number of USB device notification messages that can be queued.
config USBD_MSG_WORK_DELAY
int "USB device notification messages work delay" if USBD_MSG_DEFERRED_MODE
range 1 100

Loading…
Cancel
Save