Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
labrobotica
drivers
comm
Commits
070c9ed7
Commit
070c9ed7
authored
Apr 13, 2022
by
Ferran Martínez Felipe
Browse files
Changed variable name due to a change in the API between ubuntu 18.04 and ubuntu 20.04
parent
9e996cf0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/can/can.cpp
View file @
070c9ed7
...
...
@@ -233,7 +233,7 @@ unsigned long CCAN::get_last_rx_timestamp(void)
{
struct
timeval
tv
;
if
(
ioctl
(
this
->
can_socket_fd
,
SIOCG
STAM
P
,
&
tv
)
==-
1
)
if
(
ioctl
(
this
->
can_socket_fd
,
SIOCG
RAR
P
,
&
tv
)
==-
1
)
{
/* handle exceptions */
throw
CCommException
(
_HERE_
,
"Impossible to get the last time stamp"
,
this
->
comm_id
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment