Skip to content

Commit

Permalink
Fix 'to_c' for config.h mappings (qmk#22364)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr committed Oct 29, 2023
1 parent 4313b66 commit 559450a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/python/qmk/cli/generate/config_h.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 559450a

Please sign in to comment.