From 49ac1dbeaa87a45787be0187e7d9babe00706329 Mon Sep 17 00:00:00 2001 From: Niklas Eiling Date: Tue, 3 Mar 2020 15:05:52 +0100 Subject: [PATCH] can: cosmetic changes to can nodetype draft --- lib/nodes/can-test/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/nodes/can-test/main.c b/lib/nodes/can-test/main.c index 8c9196df1..40f4a520c 100644 --- a/lib/nodes/can-test/main.c +++ b/lib/nodes/can-test/main.c @@ -13,6 +13,7 @@ #include #include + /** An accurate timestamp can be obtained with an ioctl(2) call after reading * a message from the socket: * @@ -116,6 +117,8 @@ int can_send(char *ifn) return -1; } + printf("%d,%d\n", a.tv_sec, a.tv_usec); + strcpy(ifr.ifr_name, ifname); ioctl(s, SIOCGIFINDEX, &ifr);