diff options
Diffstat (limited to 'src/can')
-rw-r--r-- | src/can/can-bus.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/can/can-bus.cpp b/src/can/can-bus.cpp index a81c142f..cfb9d86d 100644 --- a/src/can/can-bus.cpp +++ b/src/can/can-bus.cpp @@ -240,7 +240,10 @@ int can_bus_t::init_can_dev() i++; } else + { ERROR(binder_interface, "Can't open device %s", device.c_str()); + return 1; + } } NOTICE(binder_interface, "Initialized %d/%d can bus device(s)", i, t); |