mirror of https://github.com/Desuuuu/klipper.git
avr: Fix Kconfig USB/Serial selection
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
2024451f50
commit
d5a3ef6c40
|
@ -104,10 +104,13 @@ config AVR_WATCHDOG
|
|||
default y
|
||||
|
||||
config USBSERIAL
|
||||
depends on (MACH_at90usb1286 || MACH_at90usb646 || MACH_atmega32u4) && !AVR_SERIAL_UART1
|
||||
bool
|
||||
default y
|
||||
config SERIAL
|
||||
depends on !USBSERIAL
|
||||
bool
|
||||
default y if !USBSERIAL
|
||||
default y
|
||||
choice
|
||||
prompt "Communication interface" if LOW_LEVEL_OPTIONS && (MACH_atmega2560 || MACH_atmega1280 || MACH_atmega644p || MACH_atmega1284p || MACH_at90usb1286 || MACH_at90usb646 || MACH_atmega32u4)
|
||||
config AVR_USB
|
||||
|
|
Loading…
Reference in New Issue