From 15300154d5468279192b94ba40bba6ee7defc71a Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Mon, 13 Nov 2023 07:47:31 +0000 Subject: [PATCH] Add hex values for CAN ids --- src/components/DbcViewer.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/DbcViewer.tsx b/src/components/DbcViewer.tsx index b8b3292..41279e1 100644 --- a/src/components/DbcViewer.tsx +++ b/src/components/DbcViewer.tsx @@ -18,7 +18,7 @@ const DbcViewer = () => { }, []); if (!dbcData) { - return Loading; + return Loading...; } return ( @@ -41,7 +41,9 @@ const DbcViewer = () => { {message.name} - {message.id} + + {message.id} ({`0x${message.id.toString(16)}`}) + {message.dlc} {message.sendingNode} {message.description}