Skip to content

Commit

Permalink
Fix signdness for device type: DataModelTypes.h says DeviceTypeId is …
Browse files Browse the repository at this point in the history
…a uint32_t
  • Loading branch information
andy31415 committed Oct 4, 2022
1 parent 26e72ab commit 04b077e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/idl/generators/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def is_struct(self) -> bool:
"command_id": BasicInteger(idl_name="command_id", byte_count=4, is_signed=True),
"data_ver": BasicInteger(idl_name="data_ver", byte_count=4, is_signed=True),
"date": BasicInteger(idl_name="date", byte_count=4, is_signed=True),
"devtype_id": BasicInteger(idl_name="devtype_id", byte_count=4, is_signed=True),
"devtype_id": BasicInteger(idl_name="devtype_id", byte_count=4, is_signed=False),
"endpoint_no": BasicInteger(idl_name="endpoint_no", byte_count=2, is_signed=True),
"epoch_s": BasicInteger(idl_name="epoch_s", byte_count=4, is_signed=False),
"epoch_us": BasicInteger(idl_name="epoch_us", byte_count=8, is_signed=False),
Expand Down

0 comments on commit 04b077e

Please sign in to comment.