mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-08-04 16:30:55 -04:00
Fix audio.pins in keyboard.json not being converted to C defines (#26107)
* Fix audio.pins in keyboard.json not being converted to C defines Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Fix audio.pins in keyboard.json not being converted to C defines Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Fix 'list index out of range' on missing config --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: zvecr <git@zvecr.com>
This commit is contained in:
@@ -95,7 +95,7 @@ def generate_config_items(kb_info_json, config_h_lines):
|
||||
|
||||
try:
|
||||
config_value = kb_info_json[info_key]
|
||||
except KeyError:
|
||||
except KeyError, IndexError:
|
||||
continue
|
||||
|
||||
if key_type.startswith('array.array'):
|
||||
|
||||
Reference in New Issue
Block a user