Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix IDX as muxer
  • Loading branch information
ebroecker committed Jan 23, 2025
1 parent a0d912b commit 8fa1022
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/canmatrix/formats/eds.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def load(f, **options): # type: (typing.IO, **typing.Any) -> canmatrix.CanMatri
new_sig.is_signed = False
new_sig.mux_val = combined_value
new_sig.mux_val_grp.append([ combined_value, combined_value])
new_sig.muxer_for_signal = "sdo_down_IDX"
new_sig.muxer_for_signal = "IDX"
sdo_down.add_signal(new_sig)
up_sig = copy.deepcopy(new_sig)
up_sig.muxer_for_signal = "IDX"
Expand Down Expand Up @@ -194,9 +194,7 @@ def load(f, **options): # type: (typing.IO, **typing.Any) -> canmatrix.CanMatri
signal_group_counter += 1


for start_index, rx_tx_config in {0x1400 : {"transmitter": [], "receiver": [node_name]}, 0x1800: {"transmitter": [node_name], "receiver": []}}.items():
print(start_index)

for start_index, rx_tx_config in {0x1400 : {"transmitter": [], "receiver": [node_name]}, 0x1800: {"transmitter": [node_name], "receiver": []}}.items():
for comm_index in range(start_index, start_index + 0x8):
map_index = comm_index + 0x200
if comm_index not in od or map_index not in od:
Expand Down

0 comments on commit 8fa1022

Please sign in to comment.