Skip to content

Commit

Permalink
IDL 2 RIHS01 remove tempfile and print
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervdPerk-NXP committed Mar 9, 2025
1 parent 27001d3 commit fdf5e1c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/cdrstream/idl2rihs01.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,8 @@
interface_file = str(pathlib.Path(interface_file)).replace("px4/msg", "px4:msg")
idl_files.append(interface_file)

json_file = tempfile.NamedTemporaryFile(mode="w+",delete=False)
json_file = tempfile.NamedTemporaryFile(mode="w+")
json.dump(type_hash_arguments, json_file)
json_file.flush()

print(json_file.name)

generate_type_hash(json_file.name)

0 comments on commit fdf5e1c

Please sign in to comment.