diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-22 11:44:27 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-02-22 12:15:13 +0100 |
commit | 747d58ad84d230f6cf11ac818bab65019df83611 (patch) | |
tree | a7a6f84cac521fd181b8aec490260fda676f08cc /src/can-utils.cpp | |
parent | cfd941effb1b2183f6d3f693496aadd45762523f (diff) |
No more warning about not defined functions
because of wrong header files inclusion.
Some variables are now accessible using functions
rather than using global variables that can not
be accessed through separated files.
Also fix timer returning function type.
Change-Id: I36138ff671c2537f595235273abaa34783be18e1
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/can-utils.cpp')
-rw-r--r-- | src/can-utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/can-utils.cpp b/src/can-utils.cpp index 868eb235..fb6025ce 100644 --- a/src/can-utils.cpp +++ b/src/can-utils.cpp @@ -284,7 +284,7 @@ int can_bus_dev_t::send_can_message(can_message_t& can_msg, const struct afb_bin *********************************************************************************/ can_bus_t::can_bus_t(const struct afb_binding_interface *interface, int& conf_file) - : interface_{interface}, conf_file_{conf_file} + : conf_file_{conf_file}, interface_{interface} { } |