mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Fix 'to_c' for config.h mappings (#22364)
This commit is contained in:
parent
4313b66edd
commit
559450a099
|
@ -86,9 +86,9 @@ def generate_config_items(kb_info_json, config_h_lines):
|
|||
for config_key, info_dict in info_config_map.items():
|
||||
info_key = info_dict['info_key']
|
||||
key_type = info_dict.get('value_type', 'raw')
|
||||
to_config = info_dict.get('to_config', True)
|
||||
to_c = info_dict.get('to_c', True)
|
||||
|
||||
if not to_config:
|
||||
if not to_c:
|
||||
continue
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue