diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-13 00:04:37 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-16 17:14:37 +0100 |
commit | b4f03616bbf4b69c1f644b4c58462ef9a8e7f8a9 (patch) | |
tree | 9bb27b71f98252430efb808a1c6c7aa896b0638d /src/can/can-bus.cpp | |
parent | 2471f77c91357454c7e2449a70ca429d09884965 (diff) |
Default value about thread state set at false.
Change-Id: I1934aa4d9a9d945a32d8e369cf0f36b1e06d3f34
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can/can-bus.cpp')
-rw-r--r-- | src/can/can-bus.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/can/can-bus.cpp b/src/can/can-bus.cpp index d2b51bf2..469b55d0 100644 --- a/src/can/can-bus.cpp +++ b/src/can/can-bus.cpp @@ -232,15 +232,7 @@ std::vector<std::string> can_bus_t::read_conf() jo = json_tokener_parse(fd_conf_content.c_str()); if (jo == NULL || !json_object_object_get_ex(jo, "canbus", &canbus)) - {/** -* @brief Telling if the pushing thread is running -* This is the boolean value on which the while loop -* take its condition. Set it to false will stop the -* according thread. -* -* @return true if pushing thread is running, false if not. -*/ - + { ERROR(binder_interface, "Can't find canbus node in the configuration file. Please review it."); ret.clear(); } @@ -353,4 +345,3 @@ const std::vector<std::shared_ptr<can_bus_dev_t>>& can_bus_t::get_can_devices() { return can_devices_; } - |