Fix 'to_c' for config.h mappings (#22364)
This commit is contained in:
parent
4313b66edd
commit
559450a099
1 changed files with 2 additions and 2 deletions
|
@ -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