Skip to content

Commit

Permalink
fix get_default_values issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseforimse authored and erikbosch committed Mar 28, 2024
1 parent 9ed6d2e commit 857b9d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbcfeederlib/dbc2vssmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def get_default_values(self, can_id) -> Dict[str, Any]:
res = {}
for signal in self.get_signals_by_frame_id(can_id):
if signal.name in self._dbc_default:
res[signal.name] = self._dbc_default[signal]
res[signal.name] = self._dbc_default[signal.name]
else:
log.error("No default value for CAN signal %s in message with frame ID %#x", signal.name, can_id)
return res
Expand Down

0 comments on commit 857b9d2

Please sign in to comment.