From c5ee57972470fd3a199872723937a32aff727116 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sat, 18 Oct 2014 18:14:08 +0200 Subject: [PATCH] Unify selection of CAN interface to open if no option is provided. Signed-off-by: Pavel Pisa --- src/vca_canping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vca_canping.c b/src/vca_canping.c index 50c19df..4859ebe 100644 --- a/src/vca_canping.c +++ b/src/vca_canping.c @@ -88,7 +88,7 @@ sem_t ready_sem; /* Thread is ready for execution */ /* Command line options */ -char *option_device = "/dev/can0"; +char *option_device = VCA_DEV_NAME; int option_masters = 0; long int option_first_id = 1000; int option_slaves = 0; -- 2.39.2