From: Pavel Pisa Date: Sat, 18 Oct 2014 16:14:08 +0000 (+0200) Subject: Unify selection of CAN interface to open if no option is provided. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/canping.git/commitdiff_plain/c5ee57972470fd3a199872723937a32aff727116 Unify selection of CAN interface to open if no option is provided. Signed-off-by: Pavel Pisa --- 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;