diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-05-31 20:45:59 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-05-31 21:05:04 -0400 |
commit | 38772492f953221c801ad0fe853b0503dbb9558e (patch) | |
tree | 88e7ef7c1415c494aeb7a22e39f95a261bc02199 /src | |
parent | ea9eac6c3878b3eeb6dd6933f7f65f0f917a2d87 (diff) | |
download | kutter-38772492f953221c801ad0fe853b0503dbb9558e.tar.gz kutter-38772492f953221c801ad0fe853b0503dbb9558e.tar.xz kutter-38772492f953221c801ad0fe853b0503dbb9558e.zip |
Kconfig: Only show the "usb ids" menu if low-level options are enabled
It's rare to customize the usb ids, so make it a "low-level" option.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/Kconfig | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/Kconfig b/src/Kconfig index b5b75d74..7278ada0 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -48,23 +48,26 @@ config SERIAL_BAUD to 250000. Read the FAQ before changing this value. # Generic configuration options for USB -menu "USB ids" - depends on USBSERIAL - config USB_VENDOR_ID - hex "USB vendor ID" default 0x1d50 config USB_DEVICE_ID - hex "USB device ID" default 0x614e config USB_SERIAL_NUMBER_CHIPID depends on HAVE_CHIPID - bool "USB serial number from CHIPID" default y config USB_SERIAL_NUMBER - string "USB serial number" if !USB_SERIAL_NUMBER_CHIPID default "12345" +menu "USB ids" + depends on USBSERIAL && LOW_LEVEL_OPTIONS +config USB_VENDOR_ID + hex "USB vendor ID" +config USB_DEVICE_ID + hex "USB device ID" +config USB_SERIAL_NUMBER_CHIPID + bool "USB serial number from CHIPID" if HAVE_CHIPID +config USB_SERIAL_NUMBER + string "USB serial number" if !USB_SERIAL_NUMBER_CHIPID endmenu # Step timing customization |