Skip to content

Commit ebebbc2

Browse files
authored
Merge branch 'development' into fbx_keep_the_signal_start_position_as_in_dbc_file
2 parents 2e26d1b + af49526 commit ebebbc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/canmatrix/canmatrix.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,8 +1680,9 @@ def multiplex_signals(self):
16801680
for signal in self.signals:
16811681
if signal.is_multiplexer or (signal.muxer_for_signal is not None):
16821682
continue
1683-
signal.muxer_for_signal = multiplexor.name
16841683
signal.mux_val = signal.multiplex
1684+
if signal.multiplex is not None:
1685+
signal.muxer_for_signal = multiplexor.name
16851686

16861687
def __str__(self): # type: () -> str
16871688
"""Represent the frame by its name only."""

0 commit comments

Comments
 (0)