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>
This commit is contained in:
parent
91dc04d5d0
commit
452a53ba1a
1 changed files with 7 additions and 7 deletions
|
@ -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
|
|||
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…
Add table
Add a link
Reference in a new issue