summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-26 04:31:58 +1100
committerGitHub <noreply@github.com>2022-11-25 17:31:58 +0000
commit8f9b49dc5b05fd3421e47aa76822a5b2199dfca6 (patch)
treeccc6f62f48da5bb75ce2d9ab21a2434975d54fda /lib/python/qmk
parent6ed605a614595bf01721070e7ed6407e8e19585e (diff)
Fix build failures for `bastardkb/tbk` and `jels/boaty` (#19152)
Diffstat (limited to 'lib/python/qmk')
-rw-r--r--lib/python/qmk/info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/info.py b/lib/python/qmk/info.py
index 7460d84ad3..98505c1c8e 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -773,7 +773,7 @@ def avr_processor_rules(info_data, rules):
"""
info_data['processor_type'] = 'avr'
info_data['platform'] = rules['ARCH'] if 'ARCH' in rules else 'unknown'
- info_data['protocol'] = 'V-USB' if rules.get('MCU') in VUSB_PROCESSORS else 'LUFA'
+ info_data['protocol'] = 'V-USB' if info_data['processor'] in VUSB_PROCESSORS else 'LUFA'
if 'bootloader' not in info_data:
info_data['bootloader'] = 'atmel-dfu'