From bbf6f87de05aca644c4e5b60283f81769f07917f Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 30 Sep 2019 10:02:40 -0400 Subject: [PATCH] avr: List 20Mhz option below 16Mhz option in Kconfig When enabling "low level options" in Kconfig, selecting a chip that is 20Mhz capable would result in 20Mhz being the default. A 16Mhz speed is the preferred default, so list that first in the menu. Signed-off-by: Kevin O'Connor --- src/avr/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/avr/Kconfig b/src/avr/Kconfig index 55269dc76..fc1d32a34 100644 --- a/src/avr/Kconfig +++ b/src/avr/Kconfig @@ -64,11 +64,11 @@ config AVRDUDE_PROTOCOL choice prompt "Processor speed" if LOW_LEVEL_OPTIONS + config AVR_FREQ_16000000 + bool "16Mhz" config AVR_FREQ_20000000 bool "20Mhz" depends on MACH_atmega168 || MACH_atmega328 || MACH_atmega328p || MACH_atmega644p || MACH_atmega1284p - config AVR_FREQ_16000000 - bool "16Mhz" config AVR_FREQ_8000000 bool "8Mhz" endchoice