Skip to content

Commit

Permalink
fix can fd in fibex (#817)
Browse files Browse the repository at this point in the history
Co-authored-by: malilaroussi <[email protected]>
  • Loading branch information
Dalilaroussi and malilaroussi authored Oct 14, 2024
1 parent 4bfce24 commit 27822d2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/canmatrix/formats/fibex.py
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,9 @@ def dump(db, f, **options):
create_sub_element_fx(identifier, "IDENTIFIER-VALUE", str(frame.arbitration_id.id))
frame_ref = create_sub_element_fx(frame_triggering, "FRAME-REF")
frame_ref.set("ID-REF", "FRAME_" + frame.name)
if (frame.is_fd):
create_sub_element_fx(frame_triggering, "CAN-FRAME-TX-BEHAVIOR","CAN-FD")
create_sub_element_fx(frame_triggering, "CAN-FRAME-RX-BEHAVIOR","CAN-FD")

#
# ECUS
Expand Down

0 comments on commit 27822d2

Please sign in to comment.