Fix build failures for bastardkb/tbk and jels/boaty (#19152)

This commit is contained in:
Ryan authored and GitHub committed 2022-11-25 17:31:58 +00:00
1 parent 6ed605a614
commit 8f9b49dc5b
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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'