Compare commits
1 Commits
0f85b27f90
...
19429b8810
| Author | SHA1 | Date |
|---|---|---|
|
|
19429b8810 |
|
|
@ -1,13 +1,6 @@
|
||||||
*~
|
*~
|
||||||
*.a
|
|
||||||
*.so
|
|
||||||
*.so.*
|
|
||||||
*.o
|
*.o
|
||||||
.ccls-cache
|
.ccls-cache
|
||||||
CMakeCache.txt
|
|
||||||
CMakeFiles/
|
|
||||||
Makefile
|
|
||||||
cmake_install.cmake
|
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
tags
|
tags
|
||||||
/build
|
/build
|
||||||
|
|
|
||||||
|
|
@ -126,7 +126,6 @@ if(NOT ANDROID)
|
||||||
|
|
||||||
set_target_properties(isobusfs PROPERTIES
|
set_target_properties(isobusfs PROPERTIES
|
||||||
PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}"
|
PUBLIC_HEADER "${PUBLIC_HEADER_ISOBUSFS}"
|
||||||
SOVERSION 0
|
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS isobusfs
|
install(TARGETS isobusfs
|
||||||
|
|
|
||||||
7
cangen.c
7
cangen.c
|
|
@ -857,14 +857,7 @@ int main(int argc, char **argv)
|
||||||
if (ret)
|
if (ret)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
int k[] = {1,2};
|
|
||||||
int j = 0;
|
|
||||||
while (running) {
|
while (running) {
|
||||||
ts_gap = double_to_timespec((k[j%2])/1000.0);
|
|
||||||
// printf("%lu, %lu\n", ts_gap.tv_sec, ts_gap.tv_nsec);
|
|
||||||
setsockopt_txtime(s);
|
|
||||||
setup_time();
|
|
||||||
j++;
|
|
||||||
/* clear values but preserve cu.fd.len */
|
/* clear values but preserve cu.fd.len */
|
||||||
cu.fd.flags = 0;
|
cu.fd.flags = 0;
|
||||||
cu.fd.__res0 = 0;
|
cu.fd.__res0 = 0;
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
#include <linux/can/j1939.h>
|
#include <linux/can/j1939.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <time.h>
|
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
||||||
#ifndef J1939_LIB_H
|
#ifndef J1939_LIB_H
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue