summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-11-25 17:32:45 +0000
committerQMK Bot <hello@qmk.fm>2022-11-25 17:32:45 +0000
commit2582992381ca1d5118184fea8ce943ae774cb15e (patch)
tree81d0f67aa3c12502c8fe3d7283e17997ed02bdea /lib
parent8a906d7fd554340f557043fbeb06d54d70cec049 (diff)
parent8f9b49dc5b05fd3421e47aa76822a5b2199dfca6 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib')
-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 51b7fb6421..1692d43c9c 100644
--- a/lib/python/qmk/info.py
+++ b/lib/python/qmk/info.py
@@ -760,7 +760,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'
# FIXME(fauxpark/anyone): Eventually we should detect the protocol by looking at PROTOCOL inherited from mcu_selection.mk:
# info_data['protocol'] = 'V-USB' if rules.get('PROTOCOL') == 'VUSB' else 'LUFA'