diff options
author | Joel Challis <[email protected]> | 2023-10-29 23:41:44 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-10-29 23:41:44 +0000 |
commit | 559450a099539773e65adf4ab8c2e485344b7885 (patch) | |
tree | d5f04663037a8b6063271c25b11de182881f7241 /lib | |
parent | 4313b66edd005af7028931834eee272fc58a448b (diff) | |
download | qmk_firmware-559450a099539773e65adf4ab8c2e485344b7885.tar.gz qmk_firmware-559450a099539773e65adf4ab8c2e485344b7885.zip |
Fix 'to_c' for config.h mappings (#22364)
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/python/qmk/cli/generate/config_h.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/qmk/cli/generate/config_h.py b/lib/python/qmk/cli/generate/config_h.py index b261d6f851..c4260fde54 100755 --- a/lib/python/qmk/cli/generate/config_h.py +++ b/lib/python/qmk/cli/generate/config_h.py @@ -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: |