mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-11-30 06:55:51 +00:00
Use slightly more unique data name
This commit is contained in:
parent
2c8c9c9928
commit
e111b9d017
@ -3,6 +3,6 @@
|
||||
{%- for type, definition in xap.term_definitions | dictsort %}
|
||||
| _{{ type }}_ | {{ definition }} |
|
||||
{%- endfor %}
|
||||
{%- for type, definition in xap.types | dictsort %}
|
||||
{%- for type, definition in xap.type_definitions | dictsort %}
|
||||
| _{{ definition.name }}_ | {{ definition.description }}{% if 'struct' == definition.type %} Takes the format:{% for item in definition.struct_members %}<br>`{{ item.type }}` - {{ item.name }}{%- endfor %}{% endif %} |
|
||||
{%- endfor %}
|
@ -119,7 +119,7 @@
|
||||
'''
|
||||
}
|
||||
|
||||
types: {
|
||||
type_definitions: {
|
||||
identifier: {
|
||||
name: ID
|
||||
description: A single octet / 8-bit byte, representing Subsystem or Route index.
|
||||
|
@ -126,7 +126,7 @@ def _append_types(lines, container):
|
||||
lines.append('')
|
||||
|
||||
additional_types = {}
|
||||
types = container.get('types', {})
|
||||
types = container.get('type_definitions', {})
|
||||
for key, value in types.items():
|
||||
data_type = _get_c_type(value['type'])
|
||||
additional_types[key] = f'xap_{key}_t'
|
||||
|
Loading…
Reference in New Issue
Block a user