Skip to content

Commit bc6f7d2

Browse files
jfischer-nofabiobaltieri
authored andcommitted
drivers: udc_ambiq: do not leak UDC_AMBIQ_MAX_QMESSAGES
Do not leak UDC_AMBIQ_MAX_QMESSAGES Kconfig option. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
1 parent e3fffa5 commit bc6f7d2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/usb/udc/Kconfig.ambiq

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ config UDC_AMBIQ
1111
help
1212
Enable USB Device Controller Driver.
1313

14+
if UDC_AMBIQ
15+
1416
config UDC_AMBIQ_STACK_SIZE
1517
int "UDC AMBIQ driver internal thread stack size"
16-
depends on UDC_AMBIQ
1718
default 2048
1819
help
1920
AMBIQ driver internal thread stack size.
2021

2122
config UDC_AMBIQ_THREAD_PRIORITY
2223
int "UDC AMBIQ driver thread priority"
23-
depends on UDC_AMBIQ
2424
default 8
2525
help
2626
AMBIQ driver thread priority.
@@ -32,3 +32,5 @@ config UDC_AMBIQ_MAX_QMESSAGES
3232
default 8
3333
help
3434
AMBIQ maximum number of ISR event messages.
35+
36+
endif # UDC_AMBIQ

0 commit comments

Comments
 (0)