aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-utils.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-24 11:10:02 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-24 11:12:55 +0000
commit5c0c41e87ed5d1a2de7d336465c3beb3987a299f (patch)
tree7ac1dcf406354f489c095664739a3a15d754601d /src/can-utils.hpp
parentec6579686e46f39205547a5a54efe3c9e671aee8 (diff)
Remove socket read management by systemd event
loop and use classic thread with a blocking read Change-Id: Iac5428009b57c727bb32bd4893bc3fe282ba35c7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-utils.hpp')
-rw-r--r--src/can-utils.hpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/can-utils.hpp b/src/can-utils.hpp
index e4a3d340..11e19f35 100644
--- a/src/can-utils.hpp
+++ b/src/can-utils.hpp
@@ -326,15 +326,6 @@ class can_bus_dev_t {
can_bus_dev_t(const std::string& dev_name);
/**
- * @brief Connect to the application framework event loop and adding
- * a watch on the socket that will wakeup reading thread that will
- * read the socket and fill can_bus_t object queue.
- *
- * @return 0 if success, anything else if not.
- */
- int event_loop_connection();
-
- /**
* @brief Open the can socket and returning it
*
* @return
@@ -521,8 +512,7 @@ void pre_initialize(can_bus_dev_t* bus, bool writable, can_bus_dev_t* buses, con
/**
* @fn void post_initialize(can_bus_dev_t* bus, bool writable, can_bus_dev_t* buses, const int busCount);
- * @brief Post-initialize actions made after CAN bus initialization and before the
- * event loop connection.
+ * @brief Post-initialize actions made after CAN bus initialization
*
* @param[in] bus - A CanBus struct defining the bus's metadata
* @param[in] writable - configure the controller in a writable mode. If false, it will be