aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-09-30 10:02:40 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-09-30 10:05:02 -0400
commitbbf6f87de05aca644c4e5b60283f81769f07917f (patch)
tree3654e507df52e6bd7f82fe022248013014d27b2c /src
parentdb2ee2c01aaaea6207a520a43b1ebb8ec991ea83 (diff)
downloadkutter-bbf6f87de05aca644c4e5b60283f81769f07917f.tar.gz
kutter-bbf6f87de05aca644c4e5b60283f81769f07917f.tar.xz
kutter-bbf6f87de05aca644c4e5b60283f81769f07917f.zip
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 <kevin@koconnor.net>
Diffstat (limited to 'src')
-rw-r--r--src/avr/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/avr/Kconfig b/src/avr/Kconfig
index 55269dc7..fc1d32a3 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