]> rtime.felk.cvut.cz Git - canping.git/commitdiff
Unify selection of CAN interface to open if no option is provided.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 18 Oct 2014 16:14:08 +0000 (18:14 +0200)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sat, 18 Oct 2014 16:14:08 +0000 (18:14 +0200)
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
src/vca_canping.c

index 50c19df83b249af54cf4af51d984ee6795f24f7c..4859ebe038046f5d44ebd96c9b5a18b0c208d9f9 100644 (file)
@@ -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;