Skip to content

Commit ece1f2a

Browse files
authored
Merge pull request #317 from peternewman/e1.37-5
Add the missing ranges to cover the labels when a range is specified
2 parents 4fafb4f + 043cc00 commit ece1f2a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

data/pid_data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5568,7 +5568,7 @@
55685568
'set_request': {'items': [{
55695569
'name': 'device_unit_number',
55705570
'type': 'uint32',
5571-
'range': [(1, 0xFFFFFFFF)],
5571+
'range': [(0, 0), (1, 0xFFFFFFFF)],
55725572
'labels': [(0, 'Un-set')],
55735573
}]},
55745574
'set_response': {'items': []},
@@ -5595,11 +5595,11 @@
55955595
'range': [(1, 0xff)]},
55965596
{'name': 'sub_device_requested',
55975597
'type': 'uint16',
5598-
'range': [(1, 0x0200)],
5598+
'range': [(0, 0), (1, 0x0200)],
55995599
'labels': [(0, 'Root')]},
56005600
{'name': 'sub_device_personality_requested',
56015601
'type': 'uint8',
5602-
'range': [(1, 0xff)],
5602+
'range': [(0, 0), (1, 0xff)],
56035603
'labels': [(0, 'Root Device')]}
56045604
]},
56055605
'get_response': {'items': [{'name': 'root_personality_requested',

0 commit comments

Comments
 (0)