Skip to content

Commit

Permalink
Add hex values for CAN ids
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Nov 13, 2023
1 parent f06b4b6 commit 1530015
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/DbcViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const DbcViewer = () => {
}, []);

if (!dbcData) {
return <span>Loading</span>;
return <span>Loading...</span>;
}

return (
Expand All @@ -41,7 +41,9 @@ const DbcViewer = () => {
<tbody>
<tr>
<td>{message.name}</td>
<td>{message.id}</td>
<td>
{message.id} ({`0x${message.id.toString(16)}`})
</td>
<td>{message.dlc}</td>
<td>{message.sendingNode}</td>
<td>{message.description}</td>
Expand Down

0 comments on commit 1530015

Please sign in to comment.