1
0
Fork 0

Fix broken keyboards (#11412)

* Fix a couple errors

* add a dependency for the generated headers
This commit is contained in:
Zach White 2021-01-02 18:08:17 -08:00 committed by GitHub
parent f27d8d9448
commit 11bd98f684
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 20 additions and 14 deletions

View file

@ -134,6 +134,9 @@ def _extract_indicators(info_data, config_c):
_log_warning(info_data, f'Indicator {json_key} is specified in both info.json and config.h, the config.h value wins.')
if config_key in config_c:
if 'indicators' not in info_data:
info_data['indicators'] = {}
info_data['indicators'][json_key] = config_c.get(config_key)
return info_data