Skip to content

Commit

Permalink
Set as double, and add pcap file
Browse files Browse the repository at this point in the history
  • Loading branch information
shancock884 committed May 1, 2024
1 parent 06cdc3f commit 2a4e37b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generator/mavgen_wlua.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ def get_field_info(field):
field_type = "ftypes." + mavlink_type.upper()
tvb_func = "le_" + mavlink_type

# If a multiplier is defined, then add this to the displayed mavlink type
# and set the field type to DOUBLE to ensure that the full number is shown
if field.multiplier != "":
mavlink_type = mavlink_type + "*" + field.multiplier
field_type = "ftypes.DOUBLE"

return mavlink_type, field_type, tvb_func, size, count

Expand Down
Binary file added tests/snapshottests/resources/gps_raw_int.pcapng
Binary file not shown.

0 comments on commit 2a4e37b

Please sign in to comment.